class Aws::DocDB::Types::RestoreDBClusterFromSnapshotMessage
@see docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RestoreDBClusterFromSnapshotMessage AWS API Documentation
@return [Array<String>]
CloudWatch Logs.
A list of log types that must be enabled for exporting to Amazon
@!attribute [rw] enable_cloudwatch_logs_exports
@return [String]
cluster is not encrypted.
‘SnapshotIdentifier` is not encrypted, then the restored DB
* If the DB snapshot or the DB cluster snapshot in
cluster snapshot.
AWS KMS key that was used to encrypt the DB snapshot or the DB
is encrypted, then the restored DB cluster is encrypted using the
* If the DB snapshot or DB cluster snapshot in `SnapshotIdentifier`
following occurs:
If you do not specify a value for the `KmsKeyId` parameter, then the
instead of the ARN for the AWS KMS encryption key.
encrypt the new DB cluster, then you can use the AWS KMS key alias
same AWS account that owns the AWS KMS encryption key used to
AWS KMS encryption key. If you are restoring a DB cluster with the
The AWS KMS key identifier is the Amazon Resource Name (ARN) for the
cluster from a DB snapshot or DB cluster snapshot.
The AWS KMS key identifier to use when restoring an encrypted DB
@!attribute [rw] kms_key_id
@return [Array<Types::Tag>]
The tags to be assigned to the restored DB cluster.
@!attribute [rw] tags
@return [Array<String>]
DB cluster will belong to.
A list of virtual private cloud (VPC) security groups that the new
@!attribute [rw] vpc_security_group_ids
@return [String]
Example: `mySubnetgroup`
`DBSubnetGroup`.
Constraints: If provided, must match the name of an existing
The name of the DB subnet group to use for the new DB cluster.
@!attribute [rw] db_subnet_group_name
@return [Integer]
Default: The same port as the original DB cluster.
Constraints: Must be a value from `1150` to `65535`.
The port number on which the new DB cluster accepts connections.
@!attribute [rw] port
@return [String]
The version of the database engine to use for the new DB cluster.
@!attribute [rw] engine_version
@return [String]
Constraint: Must be compatible with the engine of the source.
Default: The same as source.
The database engine to use for the new DB cluster.
@!attribute [rw] engine
@return [String]
^
* Must match the identifier of an existing snapshot.
Constraints:
specify a DB snapshot.
specify a DB cluster snapshot. However, you can use only the ARN to
You can use either the name or the Amazon Resource Name (ARN) to
from.
The identifier for the DB snapshot or DB cluster snapshot to restore
@!attribute [rw] snapshot_identifier
@return [String]
Example: `my-snapshot-id`
* Cannot end with a hyphen or contain two consecutive hyphens.
* The first character must be a letter.
* Must contain from 1 to 63 letters, numbers, or hyphens.
Constraints:
cluster snapshot. This parameter isn’t case sensitive.
The name of the DB cluster to create from the DB snapshot or DB
@!attribute [rw] db_cluster_identifier
@return [Array<String>]
the restored DB cluster can be created in.
Provides the list of Amazon EC2 Availability Zones that instances in
@!attribute [rw] availability_zones
}
enable_cloudwatch_logs_exports: [“String”],
kms_key_id: “String”,
],
},
value: “String”,
key: “String”,
{
tags: [
vpc_security_group_ids: [“String”],
db_subnet_group_name: “String”,
port: 1,
engine_version: “String”,
engine: “String”, # required
snapshot_identifier: “String”, # required
db_cluster_identifier: “String”, # required
availability_zones: [“String”],
{
data as a hash:
@note When making an API call, you may pass RestoreDBClusterFromSnapshotMessage
Represents the input to RestoreDBClusterFromSnapshot.