AWS::FSx::Snapshot - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 } }

YAML

Type: AWS::FSx::Snapshot Properties: Name: String Tags: - Tag VolumeId: String

Properties

Name

The name of the snapshot.

Required: Yes

Type: String

Minimum: 1

Maximum: 203

Pattern: ^[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: 23

Maximum: 23

Pattern: ^(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.

ResourceARN

Returns the snapshot's Amazon Resource Name (ARN).

Example: arn:aws:fsx:us-east-2:111133334444:snapshot/fsvol-01234567890123456/fsvolsnap-0123456789abcedf5