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 moreTag
elements.
- See:
- 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.
- tags
A complex type that contains zero or more
Tag
elements.