You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::DLM::Types::CrossRegionCopyRule

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CrossRegionCopyRule as input to an Aws::Client method, you can use a vanilla Hash:

{
  target_region: "TargetRegion", # required
  encrypted: false, # required
  cmk_arn: "CmkArn",
  copy_tags: false,
  retain_rule: {
    interval: 1,
    interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
  },
}

Specifies a rule for cross-Region snapshot copies.

Instance Attribute Summary collapse

Instance Attribute Details

#cmk_arnString

The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption. If this parameter is not specified, your AWS managed CMK for EBS is used.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption.

#copy_tagsBoolean

Copy all user-defined tags from the source snapshot to the copied snapshot.

Returns:

  • (Boolean)

    Copy all user-defined tags from the source snapshot to the copied snapshot.

#encryptedBoolean

To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or if encryption by default is not enabled.

Returns:

  • (Boolean)

    To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter.

#retain_ruleTypes::CrossRegionCopyRetainRule

The retention rule.

Returns:

#target_regionString

The target Region.

Returns:

  • (String)

    The target Region.