Class: Aws::FSx::Types::CopyBackupRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb

Overview

Note:

When making an API call, you may pass CopyBackupRequest data as a hash:

{
  client_request_token: "ClientRequestToken",
  source_backup_id: "SourceBackupId", # required
  source_region: "Region",
  kms_key_id: "KmsKeyId",
  copy_tags: false,
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_request_tokenString

(Optional) An idempotency token for resource creation, in a string of up to 64 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


834
835
836
837
838
839
840
841
842
843
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 834

class CopyBackupRequest < Struct.new(
  :client_request_token,
  :source_backup_id,
  :source_region,
  :kms_key_id,
  :copy_tags,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#copy_tagsBoolean

A Boolean flag indicating whether tags from the source backup should be copied to the backup copy. This value defaults to false.

If you set CopyTags to true and the source backup has existing tags, you can use the Tags parameter to create new tags, provided that the sum of the source backup tags and the new tags doesn't exceed 50. Both sets of tags are merged. If there are tag conflicts (for example, two tags with the same key but different values), the tags created with the Tags parameter take precedence.

Returns:

  • (Boolean)


834
835
836
837
838
839
840
841
842
843
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 834

class CopyBackupRequest < Struct.new(
  :client_request_token,
  :source_backup_id,
  :source_region,
  :kms_key_id,
  :copy_tags,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_idString

The ID of the Key Management Service (KMS) key used to encrypt the file system's data for Amazon FSx for Windows File Server file systems, Amazon FSx for NetApp ONTAP file systems, and Amazon FSx for Lustre PERSISTENT_1 and PERSISTENT_2 file systems at rest. If this ID isn't specified, the key managed by Amazon FSx is used. The Amazon FSx for Lustre SCRATCH_1 and SCRATCH_2 file systems are always encrypted at rest using Amazon FSx-managed keys. For more information, see Encrypt in the Key Management Service API Reference.

Returns:

  • (String)


834
835
836
837
838
839
840
841
842
843
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 834

class CopyBackupRequest < Struct.new(
  :client_request_token,
  :source_backup_id,
  :source_region,
  :kms_key_id,
  :copy_tags,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#source_backup_idString

The ID of the source backup. Specifies the ID of the backup that's being copied.

Returns:

  • (String)


834
835
836
837
838
839
840
841
842
843
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 834

class CopyBackupRequest < Struct.new(
  :client_request_token,
  :source_backup_id,
  :source_region,
  :kms_key_id,
  :copy_tags,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#source_regionString

The source Amazon Web Services Region of the backup. Specifies the Amazon Web Services Region from which the backup is being copied. The source and destination Regions must be in the same Amazon Web Services partition. If you don't specify a Region, SourceRegion defaults to the Region where the request is sent from (in-Region copy).

Returns:

  • (String)


834
835
836
837
838
839
840
841
842
843
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 834

class CopyBackupRequest < Struct.new(
  :client_request_token,
  :source_backup_id,
  :source_region,
  :kms_key_id,
  :copy_tags,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

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

Returns:



834
835
836
837
838
839
840
841
842
843
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 834

class CopyBackupRequest < Struct.new(
  :client_request_token,
  :source_backup_id,
  :source_region,
  :kms_key_id,
  :copy_tags,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end