ServerlessCacheAttributes

class aws_cdk.aws_elasticache_alpha.ServerlessCacheAttributes(*, backup_arns_to_restore=None, engine=None, kms_key=None, security_groups=None, serverless_cache_arn=None, serverless_cache_name=None, subnets=None, user_group=None, vpc=None)

Bases: object

(experimental) Attributes that can be specified when importing a ServerlessCache.

Parameters:
  • backup_arns_to_restore (Optional[Sequence[str]]) – (experimental) The ARNs of backups restored in the cache. Default: - backups are unknown

  • engine (Optional[CacheEngine]) – (experimental) The cache engine used by this cache. Default: - engine type is unknown

  • kms_key (Optional[IKey]) – (experimental) The KMS key used for encryption. Default: - encryption key is unknown

  • security_groups (Optional[Sequence[ISecurityGroup]]) – (experimental) The security groups associated with this cache. Default: - security groups are unknown

  • serverless_cache_arn (Optional[str]) – (experimental) The ARN of the serverless cache. One of serverlessCacheName or serverlessCacheArn is required. Default: - derived from serverlessCacheName

  • serverless_cache_name (Optional[str]) – (experimental) The name of the serverless cache. One of serverlessCacheName or serverlessCacheArn is required. Default: - derived from serverlessCacheArn

  • subnets (Optional[Sequence[ISubnet]]) – (experimental) The subnets this cache is deployed in. Default: - subnets are unknown

  • user_group (Optional[IUserGroup]) – (experimental) The user group associated with this cache. Default: - user group is unknown

  • vpc (Optional[IVpc]) – (experimental) The VPC this cache is deployed in. Default: - VPC is unknown

Stability:

experimental

ExampleMetadata:

infused

Example:

# security_group: ec2.SecurityGroup


imported_serverless_cache = elasticache.ServerlessCache.from_serverless_cache_attributes(self, "ImportedServerlessCache",
    serverless_cache_name="my-serverless-cache",
    security_groups=[security_group]
)

Attributes

backup_arns_to_restore

(experimental) The ARNs of backups restored in the cache.

Default:
  • backups are unknown

Stability:

experimental

engine

(experimental) The cache engine used by this cache.

Default:
  • engine type is unknown

Stability:

experimental

kms_key

(experimental) The KMS key used for encryption.

Default:
  • encryption key is unknown

Stability:

experimental

security_groups

(experimental) The security groups associated with this cache.

Default:
  • security groups are unknown

Stability:

experimental

serverless_cache_arn

(experimental) The ARN of the serverless cache.

One of serverlessCacheName or serverlessCacheArn is required.

Default:
  • derived from serverlessCacheName

Stability:

experimental

serverless_cache_name

(experimental) The name of the serverless cache.

One of serverlessCacheName or serverlessCacheArn is required.

Default:
  • derived from serverlessCacheArn

Stability:

experimental

subnets

(experimental) The subnets this cache is deployed in.

Default:
  • subnets are unknown

Stability:

experimental

user_group

(experimental) The user group associated with this cache.

Default:
  • user group is unknown

Stability:

experimental

vpc

(experimental) The VPC this cache is deployed in.

Default:
  • VPC is unknown

Stability:

experimental