CopyServerlessCacheSnapshot
Source:
src/AWS/ElastiCache/CopyServerlessCacheSnapshot.ts
Runtime binding for the CopyServerlessCacheSnapshot operation (IAM
actions elasticache:CopyServerlessCacheSnapshot +
elasticache:AddTagsToResource).
Copies an existing serverless cache snapshot, optionally re-encrypting it
under a different KMS key — e.g. duplicating a nightly backup before a
risky migration. Available for valkey, redis, and serverless memcached.
Provide the implementation with
Effect.provide(AWS.ElastiCache.CopyServerlessCacheSnapshotHttp).
Managing Snapshots
Section titled “Managing Snapshots”const copySnapshot = yield* ElastiCache.CopyServerlessCacheSnapshot();
const result = yield* copySnapshot({ SourceServerlessCacheSnapshotName: "nightly", TargetServerlessCacheSnapshotName: "pre-migration",});