CfnStorageConfigurationPropsMixin
- class aws_cdk.mixins_preview.aws_ivs.mixins.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.mixins_preview import mixins from aws_cdk.mixins_preview.aws_ivs import mixins as ivs_mixins cfn_storage_configuration_props_mixin = ivs_mixins.CfnStorageConfigurationPropsMixin(ivs_mixins.CfnStorageConfigurationMixinProps( name="name", s3=ivs_mixins.CfnStorageConfigurationPropsMixin.S3StorageConfigurationProperty( bucket_name="bucketName" ), tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::IVS::StorageConfiguration.- Parameters:
props (
Union[CfnStorageConfigurationMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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)
(experimental) 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.- Stability:
experimental
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.mixins_preview.aws_ivs import mixins as ivs_mixins s3_storage_configuration_property = ivs_mixins.CfnStorageConfigurationPropsMixin.S3StorageConfigurationProperty( bucket_name="bucketName" )
Attributes
- bucket_name
Name of the S3 bucket where recorded video will be stored.