CfnSnapshotMixinProps

class aws_cdk.mixins_preview.aws_fsx.mixins.CfnSnapshotMixinProps(*, name=None, tags=None, volume_id=None)

Bases: object

Properties for CfnSnapshotPropsMixin.

Parameters:
  • name (Optional[str]) – The name of the snapshot.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A list of Tag values, with a maximum of 50 elements.

  • volume_id (Optional[str]) – The ID of the volume that the snapshot is of.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-snapshot.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_fsx import mixins as fsx_mixins

cfn_snapshot_mixin_props = fsx_mixins.CfnSnapshotMixinProps(
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    volume_id="volumeId"
)

Attributes

name

The name of the snapshot.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-snapshot.html#cfn-fsx-snapshot-name

tags

A list of Tag values, with a maximum of 50 elements.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-snapshot.html#cfn-fsx-snapshot-tags

volume_id

The ID of the volume that the snapshot is of.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-snapshot.html#cfn-fsx-snapshot-volumeid