Restores an elastic cluster from a snapshot.
See https://www.paws-r-sdk.com/docs/docdbelastic_restore_cluster_from_snapshot/ for full documentation.
docdbelastic_restore_cluster_from_snapshot(
clusterName,
kmsKeyId = NULL,
shardCapacity = NULL,
shardInstanceCount = NULL,
snapshotArn,
subnetIds = NULL,
tags = NULL,
vpcSecurityGroupIds = NULL
)
[required] The name of the elastic cluster.
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.
The capacity of each shard in the new restored elastic cluster.
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.
[required] The ARN identifier of the elastic cluster snapshot.
The Amazon EC2 subnet IDs for the elastic cluster.
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.
A list of EC2 VPC security groups to associate with the elastic cluster.