interface CfnStreamingDistributionProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CloudFront.CfnStreamingDistributionProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnStreamingDistributionProps |
![]() | software.amazon.awscdk.services.cloudfront.CfnStreamingDistributionProps |
![]() | aws_cdk.aws_cloudfront.CfnStreamingDistributionProps |
![]() | aws-cdk-lib » 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 { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
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',
},
// the properties below are optional
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
[]
(optional)
A complex type that contains zero or more Tag
elements.