Class: Aws::MemoryDB::Types::CopySnapshotRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::MemoryDB::Types::CopySnapshotRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-memorydb/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#kms_key_id ⇒ String
The ID of the KMS key used to encrypt the target snapshot.
-
#source_snapshot_name ⇒ String
The name of an existing snapshot from which to make a copy.
-
#tags ⇒ Array<Types::Tag>
A list of tags to be added to this resource.
-
#target_bucket ⇒ String
The Amazon S3 bucket to which the snapshot is exported.
-
#target_snapshot_name ⇒ String
A name for the snapshot copy.
Instance Attribute Details
#kms_key_id ⇒ String
The ID of the KMS key used to encrypt the target snapshot.
521 522 523 524 525 526 527 528 529 |
# File 'lib/aws-sdk-memorydb/types.rb', line 521 class CopySnapshotRequest < Struct.new( :source_snapshot_name, :target_snapshot_name, :target_bucket, :kms_key_id, :tags) SENSITIVE = [] include Aws::Structure end |
#source_snapshot_name ⇒ String
The name of an existing snapshot from which to make a copy.
521 522 523 524 525 526 527 528 529 |
# File 'lib/aws-sdk-memorydb/types.rb', line 521 class CopySnapshotRequest < Struct.new( :source_snapshot_name, :target_snapshot_name, :target_bucket, :kms_key_id, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
521 522 523 524 525 526 527 528 529 |
# File 'lib/aws-sdk-memorydb/types.rb', line 521 class CopySnapshotRequest < Struct.new( :source_snapshot_name, :target_snapshot_name, :target_bucket, :kms_key_id, :tags) SENSITIVE = [] include Aws::Structure end |
#target_bucket ⇒ String
The Amazon S3 bucket to which the snapshot is exported. This parameter is used only when exporting a snapshot for external access. When using this parameter to export a snapshot, be sure MemoryDB has the needed permissions to this S3 bucket. For more information, see [Step 2: Grant MemoryDB Access to Your Amazon S3 Bucket].
[1]: docs.aws.amazon.com/MemoryDB/latest/devguide/snapshots-exporting.html
521 522 523 524 525 526 527 528 529 |
# File 'lib/aws-sdk-memorydb/types.rb', line 521 class CopySnapshotRequest < Struct.new( :source_snapshot_name, :target_snapshot_name, :target_bucket, :kms_key_id, :tags) SENSITIVE = [] include Aws::Structure end |
#target_snapshot_name ⇒ String
A name for the snapshot copy. MemoryDB does not permit overwriting a snapshot, therefore this name must be unique within its context - MemoryDB or an Amazon S3 bucket if exporting.
521 522 523 524 525 526 527 528 529 |
# File 'lib/aws-sdk-memorydb/types.rb', line 521 class CopySnapshotRequest < Struct.new( :source_snapshot_name, :target_snapshot_name, :target_bucket, :kms_key_id, :tags) SENSITIVE = [] include Aws::Structure end |