interface StreamingDistributionConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CloudFront.CfnStreamingDistribution.StreamingDistributionConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnStreamingDistribution_StreamingDistributionConfigProperty |
![]() | software.amazon.awscdk.services.cloudfront.CfnStreamingDistribution.StreamingDistributionConfigProperty |
![]() | aws_cdk.aws_cloudfront.CfnStreamingDistribution.StreamingDistributionConfigProperty |
![]() | aws-cdk-lib » aws_cloudfront » CfnStreamingDistribution » StreamingDistributionConfigProperty |
The RTMP distribution's configuration information.
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 streamingDistributionConfigProperty: cloudfront.CfnStreamingDistribution.StreamingDistributionConfigProperty = {
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',
};
Properties
Name | Type | Description |
---|---|---|
comment | string | Any comments you want to include about the streaming distribution. |
enabled | boolean | IResolvable | Whether the streaming distribution is enabled to accept user requests for content. |
s3 | IResolvable | S3 | A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution. |
trusted | IResolvable | Trusted | A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content. |
aliases? | string[] | A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution. |
logging? | IResolvable | Logging | A complex type that controls whether access logs are written for the streaming distribution. |
price | string | A complex type that contains information about price class for this streaming distribution. |
comment
Type:
string
Any comments you want to include about the streaming distribution.
enabled
Type:
boolean |
IResolvable
Whether the streaming distribution is enabled to accept user requests for content.
s3Origin
Type:
IResolvable
|
S3
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
trustedSigners
Type:
IResolvable
|
Trusted
A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content.
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 .
aliases?
Type:
string[]
(optional)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
logging?
Type:
IResolvable
|
Logging
(optional)
A complex type that controls whether access logs are written for the streaming distribution.
priceClass?
Type:
string
(optional)
A complex type that contains information about price class for this streaming distribution.