aws-cdk-lib.aws_cloudfront.CfnStreamingDistribution.StreamingDistributionConfigProperty

interface StreamingDistributionConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.CloudFront.CfnStreamingDistribution.StreamingDistributionConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnStreamingDistribution_StreamingDistributionConfigProperty
Javasoftware.amazon.awscdk.services.cloudfront.CfnStreamingDistribution.StreamingDistributionConfigProperty
Pythonaws_cdk.aws_cloudfront.CfnStreamingDistribution.StreamingDistributionConfigProperty
TypeScript 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

NameTypeDescription
commentstringAny comments you want to include about the streaming distribution.
enabledboolean | IResolvableWhether the streaming distribution is enabled to accept user requests for content.
s3OriginIResolvable | S3OriginPropertyA complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
trustedSignersIResolvable | TrustedSignersPropertyA 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 | LoggingPropertyA complex type that controls whether access logs are written for the streaming distribution.
priceClass?stringA 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 | S3OriginProperty

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 | TrustedSignersProperty

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 | LoggingProperty (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.