interface CfnSnapshotProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MemoryDB.CfnSnapshotProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmemorydb#CfnSnapshotProps |
Java | software.amazon.awscdk.services.memorydb.CfnSnapshotProps |
Python | aws_cdk.aws_memorydb.CfnSnapshotProps |
TypeScript | aws-cdk-lib » aws_memorydb » CfnSnapshotProps |
Properties for defining a CfnSnapshot.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-snapshot.html
Example
// 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
| Name | Type | Description |
|---|---|---|
| cluster | string | The name of the cluster from which the snapshot was taken. |
| snapshot | string | The name of the snapshot. |
| kms | string | The ID of the KMS key used to encrypt the snapshot. |
| tags? | Cfn[] | A list of tags to be added to this resource. |
clusterName
Type:
string
The name of the cluster from which the snapshot was taken.
snapshotName
Type:
string
The name of the snapshot.
kmsKeyId?
Type:
string
(optional)
The ID of the KMS key used to encrypt the snapshot.
tags?
Type:
Cfn[]
(optional)
A list of tags to be added to this resource.

.NET
Go
Java
Python
TypeScript