CfnSnapshotProps

class aws_cdk.aws_fsx.CfnSnapshotProps(*, name, volume_id, tags=None)

Bases: object

Properties for defining a CfnSnapshot.

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

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

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – 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

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_fsx as fsx

cfn_snapshot_props = fsx.CfnSnapshotProps(
    name="name",
    volume_id="volumeId",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

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