Interface CfnStreamingDistribution.StreamingDistributionConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStreamingDistribution.StreamingDistributionConfigProperty.Jsii$Proxy
- Enclosing class:
- CfnStreamingDistribution
@Stability(Stable)
public static interface CfnStreamingDistribution.StreamingDistributionConfigProperty
extends software.amazon.jsii.JsiiSerializable
The RTMP distribution's configuration information.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnStreamingDistribution.StreamingDistributionConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.Any comments you want to include about the streaming distribution.Whether the streaming distribution is enabled to accept user requests for content.default Object
A complex type that controls whether access logs are written for the streaming distribution.default String
A complex type that contains information about price class for this streaming distribution.A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComment
Any comments you want to include about the streaming distribution. -
getEnabled
Whether the streaming distribution is enabled to accept user requests for content. -
getS3Origin
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution. -
getTrustedSigners
A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content.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 .
-
getAliases
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution. -
getLogging
A complex type that controls whether access logs are written for the streaming distribution. -
getPriceClass
A complex type that contains information about price class for this streaming distribution. -
builder
@Stability(Stable) static CfnStreamingDistribution.StreamingDistributionConfigProperty.Builder builder()
-