Skip to content

StreamingDistributionConfig

Source code in docs_src/capo_cloudfront/types/streaming_distribution_config.py
class StreamingDistributionConfig(TypedDict, closed=True):
    caller_reference: "capo_cloudfront.types.string.string"
    """<p>A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.</p> <p>If the value of <code>CallerReference</code> is new (regardless of the content of the <code>StreamingDistributionConfig</code> object), CloudFront creates a new distribution.</p> <p>If <code>CallerReference</code> is a value that you already sent in a previous request to create a distribution, CloudFront returns a <code>DistributionAlreadyExists</code> error.</p>"""
    s3_origin: "capo_cloudfront.types.s3_origin.S3Origin"
    """<p>A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.</p>"""
    aliases: NotRequired["capo_cloudfront.types.aliases.Aliases"]
    """<p>A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.</p>"""
    comment: "capo_cloudfront.types.string.string"
    """<p>Any comments you want to include about the streaming distribution.</p>"""
    logging: NotRequired[
        "capo_cloudfront.types.streaming_logging_config.StreamingLoggingConfig"
    ]
    """<p>A complex type that controls whether access logs are written for the streaming distribution.</p>"""
    trusted_signers: "capo_cloudfront.types.trusted_signers.TrustedSigners"
    """<p>A complex type that specifies any Amazon Web Services 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 <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving Private Content through CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""
    price_class: NotRequired["capo_cloudfront.types.price_class.PriceClass"]
    """<p>A complex type that contains information about price class for this streaming distribution.</p>"""
    enabled: "capo_cloudfront.types.boolean.boolean"
    """<p>Whether the streaming distribution is enabled to accept user requests for content.</p>"""

aliases instance-attribute

aliases: NotRequired[Aliases]

A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

caller_reference instance-attribute

caller_reference: string

A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

If the value of CallerReference is new (regardless of the content of the StreamingDistributionConfig object), CloudFront creates a new distribution.

If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

comment instance-attribute

comment: string

Any comments you want to include about the streaming distribution.

enabled instance-attribute

enabled: boolean

Whether the streaming distribution is enabled to accept user requests for content.

logging instance-attribute

logging: NotRequired[StreamingLoggingConfig]

A complex type that controls whether access logs are written for the streaming distribution.

price_class instance-attribute

price_class: NotRequired[PriceClass]

A complex type that contains information about price class for this streaming distribution.

s3_origin instance-attribute

s3_origin: S3Origin

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

trusted_signers instance-attribute

trusted_signers: TrustedSigners

A complex type that specifies any Amazon Web Services 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.