Skip to content

Create Serverless Cache Snapshot

elasticache_create_serverless_cache_snapshot R Documentation

This API creates a copy of an entire ServerlessCache at a specific moment in time

Description

This API creates a copy of an entire ServerlessCache at a specific moment in time. Available for Redis only.

Usage

elasticache_create_serverless_cache_snapshot(
  ServerlessCacheSnapshotName, ServerlessCacheName, KmsKeyId, Tags)

Arguments

ServerlessCacheSnapshotName

[required] The name for the snapshot being created. Must be unique for the customer account. Available for Redis only. Must be between 1 and 255 characters.

ServerlessCacheName

[required] The name of an existing serverless cache. The snapshot is created from this cache. Available for Redis only.

KmsKeyId

The ID of the KMS key used to encrypt the snapshot. Available for Redis only. Default: NULL

Tags

A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis only.

Value

A list with the following syntax:

list(
  ServerlessCacheSnapshot = list(
    ServerlessCacheSnapshotName = "string",
    ARN = "string",
    KmsKeyId = "string",
    SnapshotType = "string",
    Status = "string",
    CreateTime = as.POSIXct(
      "2015-01-01"
    ),
    ExpiryTime = as.POSIXct(
      "2015-01-01"
    ),
    BytesUsedForCache = "string",
    ServerlessCacheConfiguration = list(
      ServerlessCacheName = "string",
      Engine = "string",
      MajorEngineVersion = "string"
    )
  )
)

Request syntax

svc$create_serverless_cache_snapshot(
  ServerlessCacheSnapshotName = "string",
  ServerlessCacheName = "string",
  KmsKeyId = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)