1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. elasticache
  6. ServerlessCacheSnapshot

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.77.0
published on Monday, Aug 31, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.77.0
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:

    ServerlessCacheName string
    The name of an existing serverless cache. The snapshot is created from this cache.
    KmsKeyId string
    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.
    ServerlessCacheSnapshotName string
    The name of the serverless cache snapshot. Must be unique for the customer account. This value is stored as a lowercase string.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    A list of tags to be added to the serverless cache snapshot resource.
    ServerlessCacheName string
    The name of an existing serverless cache. The snapshot is created from this cache.
    KmsKeyId string
    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.
    ServerlessCacheSnapshotName string
    The name of the serverless cache snapshot. Must be unique for the customer account. This value is stored as a lowercase string.
    Tags TagArgs
    A list of tags to be added to the serverless cache snapshot resource.
    serverless_cache_name string
    The name of an existing serverless cache. The snapshot is created from this cache.
    kms_key_id string
    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_snapshot_name string
    The name of the serverless cache snapshot. Must be unique for the customer account. This value is stored as a lowercase string.
    tags list(object)
    A list of tags to be added to the serverless cache snapshot resource.
    serverlessCacheName String
    The name of an existing serverless cache. The snapshot is created from this cache.
    kmsKeyId String
    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.
    serverlessCacheSnapshotName String
    The name of the serverless cache snapshot. Must be unique for the customer account. This value is stored as a lowercase string.
    tags List<Tag>
    A list of tags to be added to the serverless cache snapshot resource.
    serverlessCacheName string
    The name of an existing serverless cache. The snapshot is created from this cache.
    kmsKeyId string
    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.
    serverlessCacheSnapshotName string
    The name of the serverless cache snapshot. Must be unique for the customer account. This value is stored as a lowercase string.
    tags Tag[]
    A list of tags to be added to the serverless cache snapshot resource.
    serverless_cache_name str
    The name of an existing serverless cache. The snapshot is created from this cache.
    kms_key_id str
    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_snapshot_name str
    The name of the serverless cache snapshot. Must be unique for the customer account. This value is stored as a lowercase string.
    tags Sequence[TagArgs]
    A list of tags to be added to the serverless cache snapshot resource.
    serverlessCacheName String
    The name of an existing serverless cache. The snapshot is created from this cache.
    kmsKeyId String
    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.
    serverlessCacheSnapshotName String
    The name of the serverless cache snapshot. Must be unique for the customer account. This value is stored as a lowercase string.
    tags 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.
    BytesUsedForCache string
    The total size of the serverless cache snapshot, in bytes.
    CreateTime 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.
    ServerlessCacheConfiguration Pulumi.AwsNative.ElastiCache.Outputs.ServerlessCacheSnapshotServerlessCacheConfiguration
    The configuration of the serverless cache, at the time the snapshot was taken.
    SnapshotType 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.
    BytesUsedForCache string
    The total size of the serverless cache snapshot, in bytes.
    CreateTime 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.
    ServerlessCacheConfiguration ServerlessCacheSnapshotServerlessCacheConfiguration
    The configuration of the serverless cache, at the time the snapshot was taken.
    SnapshotType 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_for_cache string
    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_configuration object
    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.
    bytesUsedForCache String
    The total size of the serverless cache snapshot, in bytes.
    createTime 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.
    serverlessCacheConfiguration ServerlessCacheSnapshotServerlessCacheConfiguration
    The configuration of the serverless cache, at the time the snapshot was taken.
    snapshotType 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.
    bytesUsedForCache string
    The total size of the serverless cache snapshot, in bytes.
    createTime 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.
    serverlessCacheConfiguration ServerlessCacheSnapshotServerlessCacheConfiguration
    The configuration of the serverless cache, at the time the snapshot was taken.
    snapshotType 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_for_cache str
    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_configuration ServerlessCacheSnapshotServerlessCacheConfiguration
    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.
    bytesUsedForCache String
    The total size of the serverless cache snapshot, in bytes.
    createTime 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.
    serverlessCacheConfiguration Property Map
    The configuration of the serverless cache, at the time the snapshot was taken.
    snapshotType 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.
    MajorEngineVersion string
    The engine version number that the serverless cache is configured with.
    ServerlessCacheName string
    The identifier of the serverless cache.
    Engine string
    The engine that the serverless cache is configured with.
    MajorEngineVersion string
    The engine version number that the serverless cache is configured with.
    ServerlessCacheName string
    The identifier of the serverless cache.
    engine string
    The engine that the serverless cache is configured with.
    major_engine_version string
    The engine version number that the serverless cache is configured with.
    serverless_cache_name string
    The identifier of the serverless cache.
    engine String
    The engine that the serverless cache is configured with.
    majorEngineVersion String
    The engine version number that the serverless cache is configured with.
    serverlessCacheName String
    The identifier of the serverless cache.
    engine string
    The engine that the serverless cache is configured with.
    majorEngineVersion string
    The engine version number that the serverless cache is configured with.
    serverlessCacheName string
    The identifier of the serverless cache.
    engine str
    The engine that the serverless cache is configured with.
    major_engine_version str
    The engine version number that the serverless cache is configured with.
    serverless_cache_name str
    The identifier of the serverless cache.
    engine String
    The engine that the serverless cache is configured with.
    majorEngineVersion String
    The engine version number that the serverless cache is configured with.
    serverlessCacheName String
    The identifier of the serverless cache.

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.77.0
    published on Monday, Aug 31, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial