class Aws::ElastiCache::Types::CopySnapshotMessage
Represents the input of a `CopySnapshotMessage` operation.
@note When making an API call, you may pass CopySnapshotMessage
data as a hash: { source_snapshot_name: "String", # required target_snapshot_name: "String", # required target_bucket: "String", kms_key_id: "String", tags: [ { key: "String", value: "String", }, ], }
@!attribute [rw] source_snapshot_name
The name of an existing snapshot from which to make a copy. @return [String]
@!attribute [rw] target_snapshot_name
A name for the snapshot copy. ElastiCache does not permit overwriting a snapshot, therefore this name must be unique within its context - ElastiCache or an Amazon S3 bucket if exporting. @return [String]
@!attribute [rw] target_bucket
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 Amazon ElastiCache has the needed permissions to this S3 bucket. For more information, see [Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket][1] in the *Amazon ElastiCache User Guide*. For more information, see [Exporting a Snapshot][2] in the *Amazon ElastiCache User Guide*. [1]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-grant-access [2]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html @return [String]
@!attribute [rw] kms_key_id
The ID of the KMS key used to encrypt the target snapshot. @return [String]
@!attribute [rw] tags
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. @return [Array<Types::Tag>]
@see docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshotMessage AWS API Documentation
Constants
- SENSITIVE