CfnStorageConfigurationPropsMixin
- class aws_cdk.cfn_property_mixins.aws_ivs.CfnStorageConfigurationPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::IVS::StorageConfigurationresource specifies an storage configuration.A storage configuration describes an S3 location where recorded videos will be stored. For more information, see Auto-Record to Amazon S3 (Low-Latency Streaming) in the Amazon IVS Low-Latency Streaming User Guide .
- See:
- CloudformationResource:
AWS::IVS::StorageConfiguration
- Mixin:
true
- 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.cfn_property_mixins import aws_ivs as ivs import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_storage_configuration_props_mixin = ivs.CfnStorageConfigurationPropsMixin(ivs.CfnStorageConfigurationMixinProps( name="name", s3=ivs.CfnStorageConfigurationPropsMixin.S3StorageConfigurationProperty( bucket_name="bucketName" ), tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::IVS::StorageConfiguration.- Parameters:
props (
Union[CfnStorageConfigurationMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['name', 's3', 'tags']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
S3StorageConfigurationProperty
- class CfnStorageConfigurationPropsMixin.S3StorageConfigurationProperty(*, bucket_name=None)
Bases:
objectThe S3StorageConfiguration property type describes an S3 location where recorded videos will be stored.
- Parameters:
bucket_name (
Optional[str]) – Name of the S3 bucket where recorded video will be stored.- 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.cfn_property_mixins import aws_ivs as ivs s3_storage_configuration_property = ivs.CfnStorageConfigurationPropsMixin.S3StorageConfigurationProperty( bucket_name="bucketName" )
Attributes
- bucket_name
Name of the S3 bucket where recorded video will be stored.