Skip to content

Create Snapshot

memorydb_create_snapshot R Documentation

Creates a copy of an entire cluster at a specific moment in time

Description

Creates a copy of an entire cluster at a specific moment in time.

Usage

memorydb_create_snapshot(ClusterName, SnapshotName, KmsKeyId, Tags)

Arguments

ClusterName

[required] The snapshot is created from this cluster.

SnapshotName

[required] A name for the snapshot being created.

KmsKeyId

The ID of the KMS key used to encrypt the snapshot.

Tags

A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

Value

A list with the following syntax:

list(
  Snapshot = list(
    Name = "string",
    Status = "string",
    Source = "string",
    KmsKeyId = "string",
    ARN = "string",
    ClusterConfiguration = list(
      Name = "string",
      Description = "string",
      NodeType = "string",
      EngineVersion = "string",
      MaintenanceWindow = "string",
      TopicArn = "string",
      Port = 123,
      ParameterGroupName = "string",
      SubnetGroupName = "string",
      VpcId = "string",
      SnapshotRetentionLimit = 123,
      SnapshotWindow = "string",
      NumShards = 123,
      Shards = list(
        list(
          Name = "string",
          Configuration = list(
            Slots = "string",
            ReplicaCount = 123
          ),
          Size = "string",
          SnapshotCreationTime = as.POSIXct(
            "2015-01-01"
          )
        )
      )
    ),
    DataTiering = "true"|"false"
  )
)

Request syntax

svc$create_snapshot(
  ClusterName = "string",
  SnapshotName = "string",
  KmsKeyId = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)