Skip to content
v2.274.0

CfnSnapshotProps Struct ​

Properties for defining a CfnSnapshot.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_memorydb as memorydb } from 'aws-cdk-lib';
const cfnSnapshotProps: memorydb.CfnSnapshotProps = {
  clusterName: 'clusterName',
  snapshotName: 'snapshotName',

  // the properties below are optional
  kmsKeyId: 'kmsKeyId',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

clusterNamestringcluster_namestrclusterNameStringClusterNamestringClusterName*stringrequired#
The name of the cluster from which the snapshot was taken.
kmsKeyIdstringkms_key_idstrkmsKeyIdStringKmsKeyIdstringKmsKeyId*string#
The ID of the KMS key used to encrypt the snapshot.
snapshotNamestringsnapshot_namestrsnapshotNameStringSnapshotNamestringSnapshotName*stringrequired#
The name of the snapshot.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
A list of tags to be added to this resource.