CfnStreamingDistributionProps

class aws_cdk.aws_cloudfront.CfnStreamingDistributionProps(*, streaming_distribution_config, tags=None)

Bases: object

Properties for defining a CfnStreamingDistribution.

Parameters:
  • streaming_distribution_config (Union[IResolvable, StreamingDistributionConfigProperty, Dict[str, Any]]) – The current configuration information for the RTMP distribution.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A complex type that contains zero or more Tag elements.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-streamingdistribution.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront

cfn_streaming_distribution_props = cloudfront.CfnStreamingDistributionProps(
    streaming_distribution_config=cloudfront.CfnStreamingDistribution.StreamingDistributionConfigProperty(
        comment="comment",
        enabled=False,
        s3_origin=cloudfront.CfnStreamingDistribution.S3OriginProperty(
            domain_name="domainName",
            origin_access_identity="originAccessIdentity"
        ),
        trusted_signers=cloudfront.CfnStreamingDistribution.TrustedSignersProperty(
            enabled=False,

            # the properties below are optional
            aws_account_numbers=["awsAccountNumbers"]
        ),

        # the properties below are optional
        aliases=["aliases"],
        logging=cloudfront.CfnStreamingDistribution.LoggingProperty(
            bucket="bucket",
            enabled=False,
            prefix="prefix"
        ),
        price_class="priceClass"
    ),

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

streaming_distribution_config

The current configuration information for the RTMP distribution.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-streamingdistribution.html#cfn-cloudfront-streamingdistribution-streamingdistributionconfig

tags

A complex type that contains zero or more Tag elements.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-streamingdistribution.html#cfn-cloudfront-streamingdistribution-tags