CfnSnapshotProps
- class aws_cdk.aws_memorydb.CfnSnapshotProps(*, cluster_name, snapshot_name, kms_key_id=None, tags=None)
Bases:
objectProperties for defining a
CfnSnapshot.- Parameters:
cluster_name (
str) – The name of the cluster from which the snapshot was taken.snapshot_name (
str) – The name of the snapshot.kms_key_id (
Optional[str]) – The ID of the KMS key used to encrypt the snapshot.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – A list of tags to be added to this resource.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-snapshot.html
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_memorydb as memorydb cfn_snapshot_props = memorydb.CfnSnapshotProps( cluster_name="clusterName", snapshot_name="snapshotName", # the properties below are optional kms_key_id="kmsKeyId", tags=[CfnTag( key="key", value="value" )] )
Attributes
- cluster_name
The name of the cluster from which the snapshot was taken.
- kms_key_id
The ID of the KMS key used to encrypt the snapshot.
- snapshot_name
The name of the snapshot.
- tags
A list of tags to be added to this resource.