CfnSnapshotProps
- class aws_cdk.aws_fsx.CfnSnapshotProps(*, name, volume_id, tags=None)
Bases:
objectProperties 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 ofTagvalues, 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.
- tags
A list of
Tagvalues, with a maximum of 50 elements.
- volume_id
The ID of the volume that the snapshot is of.