AWS::FSx::Snapshot
A snapshot of an Amazon FSx for OpenZFS volume.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::FSx::Snapshot", "Properties" : { "Name" :String, "Tags" :[ Tag, ... ], "VolumeId" :String} }
Properties
Name-
The name of the snapshot.
Required: Yes
Type: String
Minimum:
1Maximum:
203Pattern:
^[a-zA-Z0-9_:.-]{1,203}$Update requires: No interruption
Tags-
An array of key-value pairs to apply to this resource.
For more information, see Tag.
Required: No
Type: List of Tag
Update requires: No interruption
VolumeId-
The ID of the volume that the snapshot is of.
Required: Yes
Type: String
Minimum:
23Maximum:
23Pattern:
^(fsvol-[0-9a-f]{17,})$Update requires: Replacement
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the ID of the snapshot. For example:
{"Ref":"logical_snapshot_id"}
Returns fsvolsnap-0123456789abcedf5.
For more information about using the Reffunction, see Ref.
Fn::GetAtt
The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.