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();
 
  • Method Details

    • getComment

      @Stability(Stable) @NotNull String getComment()
      Any comments you want to include about the streaming distribution.
    • getEnabled

      @Stability(Stable) @NotNull Object getEnabled()
      Whether the streaming distribution is enabled to accept user requests for content.
    • getS3Origin

      @Stability(Stable) @NotNull 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.
    • getTrustedSigners

      @Stability(Stable) @NotNull Object 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

      @Stability(Stable) @Nullable default List<String> getAliases()
      A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
    • getLogging

      @Stability(Stable) @Nullable default Object getLogging()
      A complex type that controls whether access logs are written for the streaming distribution.
    • getPriceClass

      @Stability(Stable) @Nullable default String getPriceClass()
      A complex type that contains information about price class for this streaming distribution.
    • builder

      Returns:
      a CfnStreamingDistribution.StreamingDistributionConfigProperty.Builder of CfnStreamingDistribution.StreamingDistributionConfigProperty