Skip to content
v2.273.0

CfnServerlessCacheSnapshotProps Struct ​

Properties for defining a CfnServerlessCacheSnapshot.

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 cfnServerlessCacheSnapshotProps: elasticache.CfnServerlessCacheSnapshotProps = {
  serverlessCacheName: 'serverlessCacheName',
  serverlessCacheSnapshotName: 'serverlessCacheSnapshotName',

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

Properties ​

kmsKeyIdstringkms_key_idstrkmsKeyIdStringKmsKeyIdstringKmsKeyId*string#
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.

serverlessCacheNamestringserverless_cache_namestrserverlessCacheNameStringServerlessCacheNamestringServerlessCacheName*stringrequired#
The name of an existing serverless cache.

The snapshot is created from this cache.

serverlessCacheSnapshotNamestringserverless_cache_snapshot_namestrserverlessCacheSnapshotNameStringServerlessCacheSnapshotNamestringServerlessCacheSnapshotName*stringrequired#
The name of the serverless cache snapshot.

Must be unique for the customer account. This value is stored as a lowercase string.

tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
A list of tags to be added to the serverless cache snapshot resource.

Used as props by ​