SnapmirrorPolicy - Amazon FSx
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

SnapmirrorPolicy

Describes an Amazon FSx for NetApp ONTAP SnapMirror policy.

Contents

FileSystemId

The globally unique ID of the file system, assigned by Amazon FSx.

Type: String

Length Constraints: Minimum length of 11. Maximum length of 21.

Pattern: ^(fs-[0-9a-f]{8,})$

Required: No

Lifecycle

The lifecycle status of the SnapMirror policy can be one of the following:

  • CREATED – The SnapMirror policy is fully available for use.

  • CREATING – Amazon FSx is creating the SnapMirror policy.

  • DELETING – Amazon FSx is deleting the SnapMirror policy.

  • FAILED – Amazon FSx was unable to create the SnapMirror policy.

Type: String

Valid Values: CREATING | CREATED | DELETING | FAILED

Required: No

LifecycleTransitionReason

The reason why the SnapMirror policy lifecycle status changed.

Type: LifecycleTransitionReason object

Required: No

Name

The name of the SnapMirror policy.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: No

NetworkCompressionEnabled

Specifies whether SnapMirror compresses data when it transfers the data over the network. This value defaults to false.

Type: Boolean

Required: No

ResourceARN

The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify AWS resources. We require an ARN when you need to specify a resource unambiguously across all of AWS. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.

Type: String

Length Constraints: Minimum length of 8. Maximum length of 512.

Pattern: ^arn:(?=[^:]+:fsx:[^:]+:\d{12}:)((|(?=[a-z0-9-.]{1,63})(?!\d{1,3}(\.\d{1,3}){3})(?![^:]*-{2})(?![^:]*-\.)(?![^:]*\.-)[a-z0-9].*(?<!-)):){4}(?!/).{0,1024}$

Required: No

RetentionRules

The rules that determine which snapshots SnapMirror retains on the destination volume.

Type: Array of SnapmirrorPolicyRetentionRule objects

Array Members: Maximum number of 10 items.

Required: No

Scope

The scope of the SnapMirror policy can be one of the following:

  • FILESYSTEM – The SnapMirror policy was created on the file system.

  • SVM – The SnapMirror policy was created on an SVM.

Type: String

Valid Values: FILESYSTEM | SVM

Required: No

SnapmirrorPolicyId

The system-generated, unique ID of the SnapMirror policy.

Type: String

Pattern: ^(snapmirrorpol-[0-9a-f]{17})$

Required: No

SnapshotCopyMode

The snapshot copy mode of the SnapMirror policy, which determines which snapshots SnapMirror transfers to the destination volume.

Type: String

Valid Values: COPY_ALL_SOURCE_SNAPSHOTS | COPY_LATEST_SOURCE_SNAPSHOT | NO_CREATE_SNAPSHOT_ON_SOURCE

Required: No

StorageVirtualMachineId

The ID of the SnapMirror policy's storage virtual machine, if you created the SnapMirror policy on a storage virtual machine.

Type: String

Length Constraints: Fixed length of 21.

Pattern: ^(svm-[0-9a-f]{17,})$

Required: No

Tags

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

Type: Array of Tag objects

Array Members: Minimum number of 1 item. Maximum number of 50 items.

Required: No

ThrottleInKbps

The maximum bandwidth, in kilobytes per second (KBps), that SnapMirror uses to transfer data. A value of 0 means that the bandwidth is unlimited.

Type: Long

Valid Range: Minimum value of 0.

Required: No

TransferSchedule

The name of the ONTAP schedule that determines when SnapMirror transfers data.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

Pattern: ^[a-zA-Z0-9_:.-]{0,256}$

Required: No

UUID

The SnapMirror policy's universally unique identifier (UUID).

Type: String

Length Constraints: Maximum length of 36.

Pattern: ^[^\u0000\u0085\u2028\u2029\r\n]{1,36}$

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: