Interface ICfnServerlessCacheSnapshotProps
Properties for defining a CfnServerlessCacheSnapshot.
Namespace: Amazon.CDK.AWS.ElastiCache
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnServerlessCacheSnapshotProps
Syntax (vb)
Public Interface ICfnServerlessCacheSnapshotProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElastiCache;
var cfnServerlessCacheSnapshotProps = new CfnServerlessCacheSnapshotProps {
ServerlessCacheName = "serverlessCacheName",
ServerlessCacheSnapshotName = "serverlessCacheSnapshotName",
// the properties below are optional
KmsKeyId = "kmsKeyId",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
| KmsKeyId | The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot. |
| ServerlessCacheName | The name of an existing serverless cache. |
| ServerlessCacheSnapshotName | The name of the serverless cache snapshot. |
| Tags | A list of tags to be added to the serverless cache snapshot resource. |
Properties
KmsKeyId
The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot.
string? KmsKeyId { get; }
Property Value
Remarks
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.
ServerlessCacheName
The name of an existing serverless cache.
string ServerlessCacheName { get; }
Property Value
Remarks
The snapshot is created from this cache.
ServerlessCacheSnapshotName
The name of the serverless cache snapshot.
string ServerlessCacheSnapshotName { get; }
Property Value
Remarks
Must be unique for the customer account. This value is stored as a lowercase string.
Tags
A list of tags to be added to the serverless cache snapshot resource.
ICfnTag[]? Tags { get; }
Property Value
ICfnTag[]