Skip to content
v2.273.0

CfnStreamingDistributionProps Struct ​

Properties for defining a CfnStreamingDistribution.

Example ​

ts
// 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 ​

streamingDistributionConfigIResolvable | CfnStreamingDistribution.StreamingDistributionConfigPropertystreaming_distribution_configtyping.Union[IResolvable, StreamingDistributionConfigProperty]streamingDistributionConfigIResolvableStreamingDistributionConfigIResolvableStreamingDistributionConfiginterface{}required#
The current configuration information for the RTMP distribution.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
A complex type that contains zero or more `Tag` elements.

Used as props by ​