Skip to content

CopySnapshotRequest

Source code in docs_src/capo_memorydb/types/copy_snapshot_request.py
class CopySnapshotRequest(TypedDict, closed=True):
    source_snapshot_name: "capo_memorydb.types.string.String"
    """<p>The name of an existing snapshot from which to make a copy.</p>"""
    target_snapshot_name: "capo_memorydb.types.string.String"
    """<p>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.</p>"""
    target_bucket: NotRequired["capo_memorydb.types.target_bucket.TargetBucket"]
    """<p>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 <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/snapshots-exporting.html">Step 2: Grant MemoryDB Access to Your Amazon S3 Bucket</a>. </p>"""
    kms_key_id: NotRequired["capo_memorydb.types.kms_key_id.KmsKeyId"]
    """<p>The ID of the KMS key used to encrypt the target snapshot.</p>"""
    tags: NotRequired["capo_memorydb.types.tag_list.TagList"]
    """<p>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.</p>"""

kms_key_id instance-attribute

kms_key_id: NotRequired[KmsKeyId]

The ID of the KMS key used to encrypt the target snapshot.

source_snapshot_name instance-attribute

source_snapshot_name: String

The name of an existing snapshot from which to make a copy.

tags instance-attribute

tags: NotRequired[TagList]

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.

target_bucket instance-attribute

target_bucket: NotRequired[TargetBucket]

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.

target_snapshot_name instance-attribute

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.