AWS::ElastiCache::ServerlessCacheSnapshot

ElastiCache ServerlessCacheSnapshot

Resource Type definition for AWS::ElastiCache::ServerlessCacheSnapshot. A serverless cache snapshot is a point-in-time backup of an ElastiCache serverless cache. Available for Valkey, Redis OSS and Serverless Memcached only.

Properties

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

Filter:
PropertyTypeFlags
ServerlessCacheName
string
RequiredCreate-only
ServerlessCacheSnapshotName
string
RequiredCreate-only
KmsKeyId
string
Create-only
Tags
Array<Tag>

Return Values

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

AttributeTypeDescription
ARNstringThe Amazon Resource Name (ARN) of the serverless cache snapshot.
BytesUsedForCachestringThe total size of the serverless cache snapshot, in bytes.
CreateTimestringThe date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot.
ServerlessCacheConfigurationServerlessCacheConfigurationThe configuration of the serverless cache, at the time the snapshot was taken.
SnapshotTypestringThe type of snapshot of the serverless cache.
StatusstringThe current status of the serverless cache snapshot.

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::ServerlessCacheSnapshot

Resources:
  MyResource:
    Type: AWS::ElastiCache::ServerlessCacheSnapshot
    Properties:
      ServerlessCacheSnapshotName: "my-serverlesscachesnapshotname"
      ServerlessCacheName: "my-serverlesscachename"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

create

elasticache:CreateServerlessCacheSnapshotelasticache:DescribeServerlessCacheSnapshotselasticache:AddTagsToResourceelasticache:ListTagsForResourcekms:DescribeKeykms:CreateGrant

read

elasticache:DescribeServerlessCacheSnapshotselasticache:ListTagsForResource

update

elasticache:AddTagsToResourceelasticache:RemoveTagsFromResourceelasticache:ListTagsForResourceelasticache:DescribeServerlessCacheSnapshots

delete

elasticache:DeleteServerlessCacheSnapshotelasticache:DescribeServerlessCacheSnapshots

list

elasticache:DescribeServerlessCacheSnapshots

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
Properties10
Required2
TaggingSupported
Primary IDARN

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

ServerlessCacheSnapshotNameServerlessCacheNameKmsKeyId

External Links