Skip to content

/AWS1/CL_ECA=>CREATESERVERLESSCACHE()

About CreateServerlessCache

Creates a serverless cache.

Method Signature

IMPORTING

Required arguments:

IV_SERVERLESSCACHENAME TYPE /AWS1/ECASTRING /AWS1/ECASTRING

User-provided identifier for the serverless cache. This parameter is stored as a lowercase string.

IV_ENGINE TYPE /AWS1/ECASTRING /AWS1/ECASTRING

The name of the cache engine to be used for creating the serverless cache.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/ECASTRING /AWS1/ECASTRING

User-provided description for the serverless cache.
The default is NULL, i.e. if no description is provided then an empty string will be returned. The maximum length is 255 characters.

IV_MAJORENGINEVERSION TYPE /AWS1/ECASTRING /AWS1/ECASTRING

The version of the cache engine that will be used to create the serverless cache.

IO_CACHEUSAGELIMITS TYPE REF TO /AWS1/CL_ECACACHEUSAGELIMITS /AWS1/CL_ECACACHEUSAGELIMITS

Sets the cache usage limits for storage and ElastiCache Processing Units for the cache.

IV_KMSKEYID TYPE /AWS1/ECASTRING /AWS1/ECASTRING

ARN of the customer managed key for encrypting the data at rest. If no KMS key is provided, a default service key is used.

IT_SECURITYGROUPIDS TYPE /AWS1/CL_ECASECGROUPIDSLIST_W=>TT_SECURITYGROUPIDSLIST TT_SECURITYGROUPIDSLIST

A list of the one or more VPC security groups to be associated with the serverless cache. The security group will authorize traffic access for the VPC end-point (private-link). If no other information is given this will be the VPC’s Default Security Group that is associated with the cluster VPC end-point.

IT_SNAPSHOTARNSTORESTORE TYPE /AWS1/CL_ECASNAPSHOTARNSLIST_W=>TT_SNAPSHOTARNSLIST TT_SNAPSHOTARNSLIST

The ARN(s) of the snapshot that the new serverless cache will be created from. Available for Valkey, Redis OSS and Serverless Memcached only.

IT_TAGS TYPE /AWS1/CL_ECATAG=>TT_TAGLIST TT_TAGLIST

The list of tags (key, value) pairs to be added to the serverless cache resource. Default is NULL.

IV_USERGROUPID TYPE /AWS1/ECASTRING /AWS1/ECASTRING

The identifier of the UserGroup to be associated with the serverless cache. Available for Valkey and Redis OSS only. Default is NULL.

IT_SUBNETIDS TYPE /AWS1/CL_ECASUBNETIDSLIST_W=>TT_SUBNETIDSLIST TT_SUBNETIDSLIST

A list of the identifiers of the subnets where the VPC endpoint for the serverless cache will be deployed. All the subnetIds must belong to the same VPC.

IV_SNAPSHOTRETENTIONLIMIT TYPE /AWS1/ECAINTEGEROPTIONAL /AWS1/ECAINTEGEROPTIONAL

The number of snapshots that will be retained for the serverless cache that is being created. As new snapshots beyond this limit are added, the oldest snapshots will be deleted on a rolling basis. Available for Valkey, Redis OSS and Serverless Memcached only.

IV_DAILYSNAPSHOTTIME TYPE /AWS1/ECASTRING /AWS1/ECASTRING

The daily time that snapshots will be created from the new serverless cache. By default this number is populated with 0, i.e. no snapshots will be created on an automatic daily basis. Available for Valkey, Redis OSS and Serverless Memcached only.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ECACRESERVERLESSCAC01 /AWS1/CL_ECACRESERVERLESSCAC01