CfnStorageConfigurationPropsMixin

class aws_cdk.mixins_preview.aws_ivs.mixins.CfnStorageConfigurationPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::IVS::StorageConfiguration resource 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-storageconfiguration.html

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:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

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 x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

S3StorageConfigurationProperty

class CfnStorageConfigurationPropsMixin.S3StorageConfigurationProperty(*, bucket_name=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-storageconfiguration-s3storageconfiguration.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.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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-storageconfiguration-s3storageconfiguration.html#cfn-ivs-storageconfiguration-s3storageconfiguration-bucketname