@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:32.263Z") 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.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnStreamingDistribution(Construct scope,
java.lang.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 |
---|---|
java.lang.String |
getAttrDomainName()
The domain name of the resource, such as `d111111abcdef8.cloudfront.net` .
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.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 java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.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, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnStreamingDistribution(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnStreamingDistribution(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnStreamingDistribution(Construct scope, java.lang.String id, 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrDomainName()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.Object getStreamingDistributionConfig()
public void setStreamingDistributionConfig(IResolvable value)
public void setStreamingDistributionConfig(CfnStreamingDistribution.StreamingDistributionConfigProperty value)