We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 31, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 31, 2026 by Pulumi
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.
Create ServerlessCacheSnapshot Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServerlessCacheSnapshot(name: string, args: ServerlessCacheSnapshotArgs, opts?: CustomResourceOptions);@overload
def ServerlessCacheSnapshot(resource_name: str,
args: ServerlessCacheSnapshotArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServerlessCacheSnapshot(resource_name: str,
opts: Optional[ResourceOptions] = None,
serverless_cache_name: Optional[str] = None,
kms_key_id: Optional[str] = None,
serverless_cache_snapshot_name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewServerlessCacheSnapshot(ctx *Context, name string, args ServerlessCacheSnapshotArgs, opts ...ResourceOption) (*ServerlessCacheSnapshot, error)public ServerlessCacheSnapshot(string name, ServerlessCacheSnapshotArgs args, CustomResourceOptions? opts = null)
public ServerlessCacheSnapshot(String name, ServerlessCacheSnapshotArgs args)
public ServerlessCacheSnapshot(String name, ServerlessCacheSnapshotArgs args, CustomResourceOptions options)
type: aws-native:elasticache:ServerlessCacheSnapshot
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_elasticache_serverless_cache_snapshot" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ServerlessCacheSnapshotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ServerlessCacheSnapshotArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServerlessCacheSnapshotArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServerlessCacheSnapshotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServerlessCacheSnapshotArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ServerlessCacheSnapshot Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ServerlessCacheSnapshot resource accepts the following input properties:
- Serverless
Cache stringName - The name of an existing serverless cache. The snapshot is created from this cache.
- Kms
Key stringId - The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot. Provide the key ARN: the resource returns the key ARN on read, so supplying a bare key ID or alias for this createOnly property may be reported as drift by CloudFormation.
- Serverless
Cache stringSnapshot Name - The name of the serverless cache snapshot. Must be unique for the customer account. This value is stored as a lowercase string.
-
List<Pulumi.
Aws Native. Inputs. Tag> - A list of tags to be added to the serverless cache snapshot resource.
- Serverless
Cache stringName - The name of an existing serverless cache. The snapshot is created from this cache.
- Kms
Key stringId - The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot. Provide the key ARN: the resource returns the key ARN on read, so supplying a bare key ID or alias for this createOnly property may be reported as drift by CloudFormation.
- Serverless
Cache stringSnapshot Name - The name of the serverless cache snapshot. Must be unique for the customer account. This value is stored as a lowercase string.
-
Tag
Args - A list of tags to be added to the serverless cache snapshot resource.
- serverless_
cache_ stringname - The name of an existing serverless cache. The snapshot is created from this cache.
- kms_
key_ stringid - The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot. Provide the key ARN: the resource returns the key ARN on read, so supplying a bare key ID or alias for this createOnly property may be reported as drift by CloudFormation.
- serverless_
cache_ stringsnapshot_ name - The name of the serverless cache snapshot. Must be unique for the customer account. This value is stored as a lowercase string.
- list(object)
- A list of tags to be added to the serverless cache snapshot resource.
- serverless
Cache StringName - The name of an existing serverless cache. The snapshot is created from this cache.
- kms
Key StringId - The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot. Provide the key ARN: the resource returns the key ARN on read, so supplying a bare key ID or alias for this createOnly property may be reported as drift by CloudFormation.
- serverless
Cache StringSnapshot Name - The name of the serverless cache snapshot. Must be unique for the customer account. This value is stored as a lowercase string.
- List<Tag>
- A list of tags to be added to the serverless cache snapshot resource.
- serverless
Cache stringName - The name of an existing serverless cache. The snapshot is created from this cache.
- kms
Key stringId - The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot. Provide the key ARN: the resource returns the key ARN on read, so supplying a bare key ID or alias for this createOnly property may be reported as drift by CloudFormation.
- serverless
Cache stringSnapshot Name - The name of the serverless cache snapshot. Must be unique for the customer account. This value is stored as a lowercase string.
- Tag[]
- A list of tags to be added to the serverless cache snapshot resource.
- serverless_
cache_ strname - The name of an existing serverless cache. The snapshot is created from this cache.
- kms_
key_ strid - The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot. Provide the key ARN: the resource returns the key ARN on read, so supplying a bare key ID or alias for this createOnly property may be reported as drift by CloudFormation.
- serverless_
cache_ strsnapshot_ name - The name of the serverless cache snapshot. Must be unique for the customer account. This value is stored as a lowercase string.
-
Sequence[Tag
Args] - A list of tags to be added to the serverless cache snapshot resource.
- serverless
Cache StringName - The name of an existing serverless cache. The snapshot is created from this cache.
- kms
Key StringId - The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot. Provide the key ARN: the resource returns the key ARN on read, so supplying a bare key ID or alias for this createOnly property may be reported as drift by CloudFormation.
- serverless
Cache StringSnapshot Name - The name of the serverless cache snapshot. Must be unique for the customer account. This value is stored as a lowercase string.
- List<Property Map>
- A list of tags to be added to the serverless cache snapshot resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServerlessCacheSnapshot resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the serverless cache snapshot.
- Bytes
Used stringFor Cache - The total size of the serverless cache snapshot, in bytes.
- Create
Time string - The date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot.
- Id string
- The provider-assigned unique ID for this managed resource.
- Serverless
Cache Pulumi.Configuration Aws Native. Elasti Cache. Outputs. Serverless Cache Snapshot Serverless Cache Configuration - The configuration of the serverless cache, at the time the snapshot was taken.
- Snapshot
Type string - The type of snapshot of the serverless cache.
- Status string
- The current status of the serverless cache snapshot.
- Arn string
- The Amazon Resource Name (ARN) of the serverless cache snapshot.
- Bytes
Used stringFor Cache - The total size of the serverless cache snapshot, in bytes.
- Create
Time string - The date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot.
- Id string
- The provider-assigned unique ID for this managed resource.
- Serverless
Cache ServerlessConfiguration Cache Snapshot Serverless Cache Configuration - The configuration of the serverless cache, at the time the snapshot was taken.
- Snapshot
Type string - The type of snapshot of the serverless cache.
- Status string
- The current status of the serverless cache snapshot.
- arn string
- The Amazon Resource Name (ARN) of the serverless cache snapshot.
- bytes_
used_ stringfor_ cache - The total size of the serverless cache snapshot, in bytes.
- create_
time string - The date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot.
- id string
- The provider-assigned unique ID for this managed resource.
- serverless_
cache_ objectconfiguration - The configuration of the serverless cache, at the time the snapshot was taken.
- snapshot_
type string - The type of snapshot of the serverless cache.
- status string
- The current status of the serverless cache snapshot.
- arn String
- The Amazon Resource Name (ARN) of the serverless cache snapshot.
- bytes
Used StringFor Cache - The total size of the serverless cache snapshot, in bytes.
- create
Time String - The date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot.
- id String
- The provider-assigned unique ID for this managed resource.
- serverless
Cache ServerlessConfiguration Cache Snapshot Serverless Cache Configuration - The configuration of the serverless cache, at the time the snapshot was taken.
- snapshot
Type String - The type of snapshot of the serverless cache.
- status String
- The current status of the serverless cache snapshot.
- arn string
- The Amazon Resource Name (ARN) of the serverless cache snapshot.
- bytes
Used stringFor Cache - The total size of the serverless cache snapshot, in bytes.
- create
Time string - The date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot.
- id string
- The provider-assigned unique ID for this managed resource.
- serverless
Cache ServerlessConfiguration Cache Snapshot Serverless Cache Configuration - The configuration of the serverless cache, at the time the snapshot was taken.
- snapshot
Type string - The type of snapshot of the serverless cache.
- status string
- The current status of the serverless cache snapshot.
- arn str
- The Amazon Resource Name (ARN) of the serverless cache snapshot.
- bytes_
used_ strfor_ cache - The total size of the serverless cache snapshot, in bytes.
- create_
time str - The date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot.
- id str
- The provider-assigned unique ID for this managed resource.
- serverless_
cache_ Serverlessconfiguration Cache Snapshot Serverless Cache Configuration - The configuration of the serverless cache, at the time the snapshot was taken.
- snapshot_
type str - The type of snapshot of the serverless cache.
- status str
- The current status of the serverless cache snapshot.
- arn String
- The Amazon Resource Name (ARN) of the serverless cache snapshot.
- bytes
Used StringFor Cache - The total size of the serverless cache snapshot, in bytes.
- create
Time String - The date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot.
- id String
- The provider-assigned unique ID for this managed resource.
- serverless
Cache Property MapConfiguration - The configuration of the serverless cache, at the time the snapshot was taken.
- snapshot
Type String - The type of snapshot of the serverless cache.
- status String
- The current status of the serverless cache snapshot.
Supporting Types
ServerlessCacheSnapshotServerlessCacheConfiguration, ServerlessCacheSnapshotServerlessCacheConfigurationArgs
- Engine string
- The engine that the serverless cache is configured with.
- Major
Engine stringVersion - The engine version number that the serverless cache is configured with.
- Serverless
Cache stringName - The identifier of the serverless cache.
- Engine string
- The engine that the serverless cache is configured with.
- Major
Engine stringVersion - The engine version number that the serverless cache is configured with.
- Serverless
Cache stringName - The identifier of the serverless cache.
- engine string
- The engine that the serverless cache is configured with.
- major_
engine_ stringversion - The engine version number that the serverless cache is configured with.
- serverless_
cache_ stringname - The identifier of the serverless cache.
- engine String
- The engine that the serverless cache is configured with.
- major
Engine StringVersion - The engine version number that the serverless cache is configured with.
- serverless
Cache StringName - The identifier of the serverless cache.
- engine string
- The engine that the serverless cache is configured with.
- major
Engine stringVersion - The engine version number that the serverless cache is configured with.
- serverless
Cache stringName - The identifier of the serverless cache.
- engine str
- The engine that the serverless cache is configured with.
- major_
engine_ strversion - The engine version number that the serverless cache is configured with.
- serverless_
cache_ strname - The identifier of the serverless cache.
- engine String
- The engine that the serverless cache is configured with.
- major
Engine StringVersion - The engine version number that the serverless cache is configured with.
- serverless
Cache StringName - The identifier of the serverless cache.
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 31, 2026 by Pulumi