AWS Fundamentals Logo
AWS Fundamentals
AWS::ElastiCache::ServerlessCache

ElastiCache ServerlessCache

The AWS::ElastiCache::ServerlessCache resource creates an Amazon ElastiCache Serverless Cache.

Properties

16 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
Engine
string
Required
ServerlessCacheName
string
RequiredCreate-only
CacheUsageLimits
CacheUsageLimits
DailySnapshotTime
string
Description
string
Endpoint
Endpoint
FinalSnapshotName
string
Write-only
KmsKeyId
string
Create-only
MajorEngineVersion
string
ReaderEndpoint
Endpoint
SecurityGroupIds
Array<string>
SnapshotArnsToRestore
Array<string>
Create-onlyWrite-only
SnapshotRetentionLimit
integer
SubnetIds
Array<string>
Create-only
Tags
Array<Tag>
UserGroupId
string

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ARNstringThe ARN of the Serverless Cache.
CreateTimestringThe creation time of the Serverless Cache.
FullEngineVersionstringThe full engine version of the Serverless Cache.
StatusstringThe status of the Serverless Cache.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ElastiCache::ServerlessCache

Resources:
  MyResource:
    Type: AWS::ElastiCache::ServerlessCache
    Properties:
      ServerlessCacheName: "my-serverlesscachename"
      Engine: "value"
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

elasticache:CreateServerlessCacheelasticache:DescribeServerlessCacheselasticache:AddTagsToResourceelasticache:ListTagsForResourceec2:CreateTagsec2:CreateVpcEndpointkms:CreateGrantkms:DescribeKey

read

elasticache:DescribeServerlessCacheselasticache:ListTagsForResource

update

elasticache:ModifyServerlessCacheelasticache:DescribeServerlessCacheselasticache:AddTagsToResourceelasticache:ListTagsForResourceelasticache:RemoveTagsFromResource

delete

elasticache:DeleteServerlessCacheelasticache:DescribeServerlessCacheselasticache:ListTagsForResource

list

elasticache:DescribeServerlessCacheselasticache:ListTagsForResource

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceElastiCache
Properties20
Required2
TaggingSupported
Primary IDServerlessCacheName

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ServerlessCacheNameKmsKeyIdSnapshotArnsToRestoreSubnetIds

External Links