@Stability(value=Stable)
public static interface CfnStreamingDistribution.StreamingDistributionConfigProperty
extends software.amazon.jsii.JsiiSerializable
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 List<String> |
getAliases()
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
|
String |
getComment()
Any comments you want to include about the streaming distribution.
|
Object |
getEnabled()
Whether the streaming distribution is enabled to accept user requests for content.
|
default Object |
getLogging()
A complex type that controls whether access logs are written for the streaming distribution.
|
default String |
getPriceClass()
A complex type that contains information about price class for this streaming distribution.
|
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.
|
Object |
getTrustedSigners()
A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content.
|
@Stability(value=Stable) @NotNull String getComment()
@Stability(value=Stable) @NotNull Object getEnabled()
@Stability(value=Stable) @NotNull Object getS3Origin()
@Stability(value=Stable) @NotNull 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 .
@Stability(value=Stable) @Nullable default List<String> getAliases()
@Stability(value=Stable) @Nullable default Object getLogging()
@Stability(value=Stable) @Nullable default String getPriceClass()
@Stability(value=Stable) static CfnStreamingDistribution.StreamingDistributionConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.