aws-cdk-lib.aws_cloudfront.CfnStreamingDistributionProps

interface CfnStreamingDistributionProps

LanguageType name
.NETAmazon.CDK.AWS.CloudFront.CfnStreamingDistributionProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnStreamingDistributionProps
Javasoftware.amazon.awscdk.services.cloudfront.CfnStreamingDistributionProps
Pythonaws_cdk.aws_cloudfront.CfnStreamingDistributionProps
TypeScript 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',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
streamingDistributionConfigIResolvable | StreamingDistributionConfigPropertyThe current configuration information for the RTMP distribution.
tagsCfnTag[]A complex type that contains zero or more Tag elements.

streamingDistributionConfig

Type: IResolvable | StreamingDistributionConfigProperty

The current configuration information for the RTMP distribution.


tags

Type: CfnTag[]

A complex type that contains zero or more Tag elements.