interface CfnServerlessCacheSnapshotProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ElastiCache.CfnServerlessCacheSnapshotProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awselasticache#CfnServerlessCacheSnapshotProps |
Java | software.amazon.awscdk.services.elasticache.CfnServerlessCacheSnapshotProps |
Python | aws_cdk.aws_elasticache.CfnServerlessCacheSnapshotProps |
TypeScript | aws-cdk-lib » aws_elasticache » CfnServerlessCacheSnapshotProps |
Properties for defining a CfnServerlessCacheSnapshot.
Example
// 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 cfnServerlessCacheSnapshotProps: elasticache.CfnServerlessCacheSnapshotProps = {
serverlessCacheName: 'serverlessCacheName',
serverlessCacheSnapshotName: 'serverlessCacheSnapshotName',
// the properties below are optional
kmsKeyId: 'kmsKeyId',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| serverless | string | The name of an existing serverless cache. |
| serverless | string | The name of the serverless cache snapshot. |
| kms | string | The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot. |
| tags? | Cfn[] | A list of tags to be added to the serverless cache snapshot resource. |
serverlessCacheName
Type:
string
The name of an existing serverless cache.
The snapshot is created from this cache.
serverlessCacheSnapshotName
Type:
string
The name of the serverless cache snapshot.
Must be unique for the customer account. This value is stored as a lowercase string.
kmsKeyId?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot.
Provide the key ARN: the resource returns the key ARN on read, so supplying a bare key ID or alias for this createOnly property may be reported as drift by CloudFormation.
tags?
Type:
Cfn[]
(optional)
A list of tags to be added to the serverless cache snapshot resource.

.NET
Go
Java
Python
TypeScript