public static interface CfnStreamingDistribution.StreamingDistributionConfigProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cloudfront.*; StreamingDistributionConfigProperty streamingDistributionConfigProperty = StreamingDistributionConfigProperty.builder() .comment("comment") .enabled(false) .s3Origin(S3OriginProperty.builder() .domainName("domainName") .originAccessIdentity("originAccessIdentity") .build()) .trustedSigners(TrustedSignersProperty.builder() .enabled(false) // the properties below are optional .awsAccountNumbers(List.of("awsAccountNumbers")) .build()) // the properties below are optional .aliases(List.of("aliases")) .logging(LoggingProperty.builder() .bucket("bucket") .enabled(false) .prefix("prefix") .build()) .priceClass("priceClass") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnStreamingDistribution.StreamingDistributionConfigProperty.Builder
|
static class |
CfnStreamingDistribution.StreamingDistributionConfigProperty.Jsii$Proxy
An implementation for
CfnStreamingDistribution.StreamingDistributionConfigProperty |
Modifier and Type | Method and Description |
---|---|
static CfnStreamingDistribution.StreamingDistributionConfigProperty.Builder |
builder() |
default java.util.List<java.lang.String> |
getAliases()
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
|
java.lang.String |
getComment()
Any comments you want to include about the streaming distribution.
|
java.lang.Object |
getEnabled()
Whether the streaming distribution is enabled to accept user requests for content.
|
default java.lang.Object |
getLogging()
A complex type that controls whether access logs are written for the streaming distribution.
|
default java.lang.String |
getPriceClass()
A complex type that contains information about price class for this streaming distribution.
|
java.lang.Object |
getS3Origin()
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
|
java.lang.Object |
getTrustedSigners()
A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content.
|
java.lang.String getComment()
java.lang.Object getEnabled()
java.lang.Object getS3Origin()
java.lang.Object getTrustedSigners()
If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide .
default java.util.List<java.lang.String> getAliases()
default java.lang.Object getLogging()
default java.lang.String getPriceClass()