Interface CfnServerlessCacheSnapshotProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServerlessCacheSnapshotProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:10.036Z")
@Stability(Stable)
public interface CfnServerlessCacheSnapshotProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.elasticache.*;
CfnServerlessCacheSnapshotProps cfnServerlessCacheSnapshotProps = CfnServerlessCacheSnapshotProps.builder()
.serverlessCacheName("serverlessCacheName")
.serverlessCacheSnapshotName("serverlessCacheSnapshotName")
// the properties below are optional
.kmsKeyId("kmsKeyId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnServerlessCacheSnapshotPropsstatic final classAn implementation forCfnServerlessCacheSnapshotProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot.The name of an existing serverless cache.The name of the serverless cache snapshot.getTags()A list of tags to be added to the serverless cache snapshot resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getServerlessCacheName
The name of an existing serverless cache.The snapshot is created from this cache.
- See Also:
-
getServerlessCacheSnapshotName
The name of the serverless cache snapshot.Must be unique for the customer account. This value is stored as a lowercase string.
- See Also:
-
getKmsKeyId
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.
- See Also:
-
getTags
A list of tags to be added to the serverless cache snapshot resource.- See Also:
-
builder
-