Skip to content

Copy Serverless Cache Snapshot

elasticache_copy_serverless_cache_snapshot R Documentation

Creates a copy of an existing serverless cache’s snapshot

Description

Creates a copy of an existing serverless cache’s snapshot. Available for Redis OSS and Serverless Memcached only.

Usage

elasticache_copy_serverless_cache_snapshot(
  SourceServerlessCacheSnapshotName, TargetServerlessCacheSnapshotName,
  KmsKeyId, Tags)

Arguments

SourceServerlessCacheSnapshotName

[required] The identifier of the existing serverless cache’s snapshot to be copied. Available for Redis OSS and Serverless Memcached only.

TargetServerlessCacheSnapshotName

[required] The identifier for the snapshot to be created. Available for Redis OSS and Serverless Memcached only.

KmsKeyId

The identifier of the KMS key used to encrypt the target snapshot. Available for Redis OSS and Serverless Memcached only.

Tags

A list of tags to be added to the target snapshot resource. A tag is a key-value pair. Available for Redis OSS and Serverless Memcached only. Default: NULL

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$copy_serverless_cache_snapshot(
  SourceServerlessCacheSnapshotName = "string",
  TargetServerlessCacheSnapshotName = "string",
  KmsKeyId = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)