interface ServerlessCacheAttributes
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ElastiCache.Alpha.ServerlessCacheAttributes |
Go | github.com/aws/aws-cdk-go/awscdkelasticachealpha/v2#ServerlessCacheAttributes |
Java | software.amazon.awscdk.services.elasticache.alpha.ServerlessCacheAttributes |
Python | aws_cdk.aws_elasticache_alpha.ServerlessCacheAttributes |
TypeScript (source) | @aws-cdk/aws-elasticache-alpha ยป ServerlessCacheAttributes |
Attributes that can be specified when importing a ServerlessCache.
Example
declare const securityGroup: ec2.SecurityGroup;
const importedServerlessCache = elasticache.ServerlessCache.fromServerlessCacheAttributes(this, 'ImportedServerlessCache', {
serverlessCacheName: 'my-serverless-cache',
securityGroups: [securityGroup],
});
Properties
| Name | Type | Description |
|---|---|---|
| backup | string[] | The ARNs of backups restored in the cache. |
| engine? | Cache | The cache engine used by this cache. |
| kms | IKey | The KMS key used for encryption. |
| security | ISecurity[] | The security groups associated with this cache. |
| serverless | string | The ARN of the serverless cache. |
| serverless | string | The name of the serverless cache. |
| subnets? | ISubnet[] | The subnets this cache is deployed in. |
| user | IUser | The user group associated with this cache. |
| vpc? | IVpc | The VPC this cache is deployed in. |
backupArnsToRestore?
Type:
string[]
(optional, default: backups are unknown)
The ARNs of backups restored in the cache.
engine?
Type:
Cache
(optional, default: engine type is unknown)
The cache engine used by this cache.
kmsKey?
Type:
IKey
(optional, default: encryption key is unknown)
The KMS key used for encryption.
securityGroups?
Type:
ISecurity[]
(optional, default: security groups are unknown)
The security groups associated with this cache.
serverlessCacheArn?
Type:
string
(optional, default: derived from serverlessCacheName)
The ARN of the serverless cache.
One of serverlessCacheName or serverlessCacheArn is required.
serverlessCacheName?
Type:
string
(optional, default: derived from serverlessCacheArn)
The name of the serverless cache.
One of serverlessCacheName or serverlessCacheArn is required.
subnets?
Type:
ISubnet[]
(optional, default: subnets are unknown)
The subnets this cache is deployed in.
userGroup?
Type:
IUser
(optional, default: user group is unknown)
The user group associated with this cache.
vpc?
Type:
IVpc
(optional, default: VPC is unknown)
The VPC this cache is deployed in.

.NET
Go
Java
Python
TypeScript (