interface CfnStreamingDistributionProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CloudFront.CfnStreamingDistributionProps |
Java | software.amazon.awscdk.services.cloudfront.CfnStreamingDistributionProps |
Python | aws_cdk.aws_cloudfront.CfnStreamingDistributionProps |
TypeScript | @aws-cdk/aws-cloudfront » CfnStreamingDistributionProps |
Properties for defining a CfnStreamingDistribution
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cloudfront from '@aws-cdk/aws-cloudfront';
const cfnStreamingDistributionProps: cloudfront.CfnStreamingDistributionProps = {
streamingDistributionConfig: {
comment: 'comment',
enabled: false,
s3Origin: {
domainName: 'domainName',
originAccessIdentity: 'originAccessIdentity',
},
trustedSigners: {
enabled: false,
// the properties below are optional
awsAccountNumbers: ['awsAccountNumbers'],
},
// the properties below are optional
aliases: ['aliases'],
logging: {
bucket: 'bucket',
enabled: false,
prefix: 'prefix',
},
priceClass: 'priceClass',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
streaming | IResolvable | Streaming | The current configuration information for the RTMP distribution. |
tags | Cfn [] | A complex type that contains zero or more Tag elements. |
streamingDistributionConfig
Type:
IResolvable
|
Streaming
The current configuration information for the RTMP distribution.
tags
Type:
Cfn
[]
A complex type that contains zero or more Tag
elements.