# StreamingDistributionConfigProperty

The RTMP distribution's configuration information.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

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

- `aliases`: string[] — A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

- `comment`: string (required) — Any comments you want to include about the streaming distribution.

- `enabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Whether the streaming distribution is enabled to accept user requests for content.

- `logging`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnStreamingDistribution.LoggingProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront.CfnStreamingDistribution.LoggingProperty.html) — A complex type that controls whether access logs are written for the streaming distribution.

- `priceClass`: string — A complex type that contains information about price class for this streaming distribution.

- `s3Origin`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnStreamingDistribution.S3OriginProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront.CfnStreamingDistribution.S3OriginProperty.html) (required) — A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

- `trustedSigners`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnStreamingDistribution.TrustedSignersProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront.CfnStreamingDistribution.TrustedSignersProperty.html) (required) — 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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide* .
