pub struct CopySnapshotMessage {
pub kms_key_id: Option<String>,
pub source_snapshot_name: String,
pub target_bucket: Option<String>,
pub target_snapshot_name: String,
}
Expand description
Represents the input of a CopySnapshotMessage
operation.
Fields§
§kms_key_id: Option<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.
target_bucket: Option<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 Amazon ElastiCache has the needed permissions to this S3 bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the Amazon ElastiCache User Guide.
For more information, see Exporting a Snapshot in the Amazon ElastiCache User Guide.
target_snapshot_name: String
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.
Trait Implementations§
Source§impl Clone for CopySnapshotMessage
impl Clone for CopySnapshotMessage
Source§fn clone(&self) -> CopySnapshotMessage
fn clone(&self) -> CopySnapshotMessage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more