Interface CfnServerlessCacheProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServerlessCacheProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-15T10:24:59.259Z")
@Stability(Stable)
public interface CfnServerlessCacheProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnServerlessCache
.
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.*; CfnServerlessCacheProps cfnServerlessCacheProps = CfnServerlessCacheProps.builder() .engine("engine") .serverlessCacheName("serverlessCacheName") // the properties below are optional .cacheUsageLimits(CacheUsageLimitsProperty.builder() .dataStorage(DataStorageProperty.builder() .unit("unit") // the properties below are optional .maximum(123) .minimum(123) .build()) .ecpuPerSecond(ECPUPerSecondProperty.builder() .maximum(123) .minimum(123) .build()) .build()) .dailySnapshotTime("dailySnapshotTime") .description("description") .endpoint(EndpointProperty.builder() .address("address") .port("port") .build()) .finalSnapshotName("finalSnapshotName") .kmsKeyId("kmsKeyId") .majorEngineVersion("majorEngineVersion") .readerEndpoint(EndpointProperty.builder() .address("address") .port("port") .build()) .securityGroupIds(List.of("securityGroupIds")) .snapshotArnsToRestore(List.of("snapshotArnsToRestore")) .snapshotRetentionLimit(123) .subnetIds(List.of("subnetIds")) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .userGroupId("userGroupId") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnServerlessCacheProps
static final class
An implementation forCfnServerlessCacheProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The cache usage limit for the serverless cache.default String
The daily time that a cache snapshot will be created.default String
A description of the serverless cache.default Object
Represents the information required for client programs to connect to a cache node.The engine the serverless cache is compatible with.default String
The name of the final snapshot taken of a cache before the cache is deleted.default String
The ID of the AWS Key Management Service (KMS) key that is used to encrypt data at rest in the serverless cache.default String
The version number of the engine the serverless cache is compatible with.default Object
Represents the information required for client programs to connect to a cache node.The IDs of the EC2 security groups associated with the serverless cache.The unique identifier of the serverless cache.The ARN of the snapshot from which to restore data into the new cache.default Number
The current setting for the number of serverless cache snapshots the system will retain.If no subnet IDs are given and your VPC is in us-west-1, then ElastiCache will select 2 default subnets across AZs in your VPC.getTags()
A list of tags to be added to this resource.default String
The identifier of the user group associated with the serverless cache.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEngine
The engine the serverless cache is compatible with.- See Also:
-
getServerlessCacheName
The unique identifier of the serverless cache.- See Also:
-
getCacheUsageLimits
The cache usage limit for the serverless cache.- See Also:
-
getDailySnapshotTime
The daily time that a cache snapshot will be created.Default is NULL, i.e. snapshots will not be created at a specific time on a daily basis. Available for Valkey, Redis OSS, and Serverless Memcached only.
- See Also:
-
getDescription
A description of the serverless cache.- See Also:
-
getEndpoint
Represents the information required for client programs to connect to a cache node.This value is read-only.
- See Also:
-
getFinalSnapshotName
The name of the final snapshot taken of a cache before the cache is deleted.- See Also:
-
getKmsKeyId
The ID of the AWS Key Management Service (KMS) key that is used to encrypt data at rest in the serverless cache.- See Also:
-
getMajorEngineVersion
The version number of the engine the serverless cache is compatible with.- See Also:
-
getReaderEndpoint
Represents the information required for client programs to connect to a cache node.This value is read-only.
- See Also:
-
getSecurityGroupIds
The IDs of the EC2 security groups associated with the serverless cache.- See Also:
-
getSnapshotArnsToRestore
The ARN of the snapshot from which to restore data into the new cache.- See Also:
-
getSnapshotRetentionLimit
The current setting for the number of serverless cache snapshots the system will retain.Available for Valkey, Redis OSS, and Serverless Memcached only.
- See Also:
-
getSubnetIds
If no subnet IDs are given and your VPC is in us-west-1, then ElastiCache will select 2 default subnets across AZs in your VPC.For all other Regions, if no subnet IDs are given then ElastiCache will select 3 default subnets across AZs in your default VPC.
- See Also:
-
getTags
A list of tags to be added to this resource.- See Also:
-
getUserGroupId
The identifier of the user group associated with the serverless cache.Available for Valkey and Redis OSS only. Default is NULL.
- See Also:
-
builder
- Returns:
- a
CfnServerlessCacheProps.Builder
ofCfnServerlessCacheProps
-