CfnSnapshotProps Struct Added in v2.273.0
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_elasticache as elasticache } from 'aws-cdk-lib';
const cfnSnapshotProps: elasticache.CfnSnapshotProps = {
snapshotName: 'snapshotName',
// the properties below are optional
cacheClusterId: 'cacheClusterId',
kmsKeyId: 'kmsKeyId',
replicationGroupId: 'replicationGroupId',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
cacheClusterIdstringcache_cluster_idstrcacheClusterIdStringCacheClusterIdstringCacheClusterId*string#The identifier of an existing cluster to create a snapshot from.
The snapshot is created from this cluster.
The ID of the KMS key used to encrypt the snapshot.
replicationGroupIdstringreplication_group_idstrreplicationGroupIdStringReplicationGroupIdstringReplicationGroupId*string#The identifier of an existing replication group to create a snapshot from.
The snapshot is created from this replication group.
The name of a snapshot.
Must be unique within the customer account.