@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.125Z") @Stability(value=Stable) public class CfnStreamingDistribution extends CfnResource implements IInspectable
This resource is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, read the announcement on the Amazon CloudFront discussion forum.
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.*;
CfnStreamingDistribution cfnStreamingDistribution = CfnStreamingDistribution.Builder.create(this, "MyCfnStreamingDistribution")
.streamingDistributionConfig(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())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnStreamingDistribution.Builder
A fluent builder for
CfnStreamingDistribution. |
static interface |
CfnStreamingDistribution.LoggingProperty
A complex type that controls whether access logs are written for the streaming distribution.
|
static interface |
CfnStreamingDistribution.S3OriginProperty
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
|
static interface |
CfnStreamingDistribution.StreamingDistributionConfigProperty
The RTMP distribution's configuration information.
|
static interface |
CfnStreamingDistribution.TrustedSignersProperty
A list of AWS accounts whose public keys CloudFront can use to verify the signatures of signed URLs and signed cookies.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnStreamingDistribution(software.constructs.Construct scope,
String id,
CfnStreamingDistributionProps props)
Create a new `AWS::CloudFront::StreamingDistribution`.
|
protected |
CfnStreamingDistribution(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnStreamingDistribution(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrDomainName()
The domain name of the resource, such as `d111111abcdef8.cloudfront.net` .
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getStreamingDistributionConfig()
The current configuration information for the RTMP distribution.
|
TagManager |
getTags()
A complex type that contains zero or more `Tag` elements.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setStreamingDistributionConfig(CfnStreamingDistribution.StreamingDistributionConfigProperty value)
The current configuration information for the RTMP distribution.
|
void |
setStreamingDistributionConfig(IResolvable value)
The current configuration information for the RTMP distribution.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnStreamingDistribution(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnStreamingDistribution(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnStreamingDistribution(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnStreamingDistributionProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrDomainName()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public Object getStreamingDistributionConfig()
@Stability(value=Stable)
public void setStreamingDistributionConfig(@NotNull
CfnStreamingDistribution.StreamingDistributionConfigProperty value)
@Stability(value=Stable)
public void setStreamingDistributionConfig(@NotNull
IResolvable value)
Copyright © 2022. All rights reserved.