Skip to content
v2.277.0

StreamingDistributionReference Struct ​

A reference to a StreamingDistribution resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as interfaces_cloudfront } from 'aws-cdk-lib/interfaces';
const streamingDistributionReference: interfaces_cloudfront.StreamingDistributionReference = {
  streamingDistributionId: 'streamingDistributionId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_cloudfront as interfaces_cloudfront

streaming_distribution_reference = interfaces_cloudfront.StreamingDistributionReference(
    streaming_distribution_id="streamingDistributionId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.cloudfront.*;

StreamingDistributionReference streamingDistributionReference = StreamingDistributionReference.builder()
        .streamingDistributionId("streamingDistributionId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.CloudFront;

var streamingDistributionReference = new StreamingDistributionReference {
    StreamingDistributionId = "streamingDistributionId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

streamingDistributionReference := &StreamingDistributionReference{
	StreamingDistributionId: jsii.String("streamingDistributionId"),
}

Properties ​

streamingDistributionIdstringstreaming_distribution_idstrstreamingDistributionIdStringStreamingDistributionIdstringStreamingDistributionId*string required #
The Id of the StreamingDistribution resource.