Skip to content

/AWS1/CL_DOE=>RESTORECLUSTERFROMSNAPSHOT()

About RestoreClusterFromSnapshot

Restores an elastic cluster from a snapshot.

Method Signature

IMPORTING

Required arguments:

IV_CLUSTERNAME TYPE /AWS1/DOESTRING /AWS1/DOESTRING

The name of the elastic cluster.

IV_SNAPSHOTARN TYPE /AWS1/DOESTRING /AWS1/DOESTRING

The ARN identifier of the elastic cluster snapshot.

Optional arguments:

IT_VPCSECURITYGROUPIDS TYPE /AWS1/CL_DOESTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

A list of EC2 VPC security groups to associate with the elastic cluster.

IT_SUBNETIDS TYPE /AWS1/CL_DOESTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

The Amazon EC2 subnet IDs for the elastic cluster.

IV_KMSKEYID TYPE /AWS1/DOESTRING /AWS1/DOESTRING

The KMS key identifier to use to encrypt the new Amazon DocumentDB elastic clusters cluster.

The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias instead of the ARN as the KMS encryption key.

If an encryption key is not specified here, Amazon DocumentDB uses the default encryption key that KMS creates for your account. Your account has a different default encryption key for each Amazon Region.

IT_TAGS TYPE /AWS1/CL_DOETAGMAP_W=>TT_TAGMAP TT_TAGMAP

A list of the tag names to be assigned to the restored elastic cluster, in the form of an array of key-value pairs in which the key is the tag name and the value is the key value.

IV_SHARDCAPACITY TYPE /AWS1/DOEINTEGER /AWS1/DOEINTEGER

The capacity of each shard in the new restored elastic cluster.

IV_SHARDINSTANCECOUNT TYPE /AWS1/DOEINTEGER /AWS1/DOEINTEGER

The number of replica instances applying to all shards in the elastic cluster. A shardInstanceCount value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DOERESTORECLSTFRMSN01 /AWS1/CL_DOERESTORECLSTFRMSN01