class Aws::DocDB::Types::RestoreDBClusterToPointInTimeMessage
@see docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RestoreDBClusterToPointInTimeMessage 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]
encrypted, then the restore request is rejected.
If ‘DBClusterIdentifier` refers to a DB cluster that is not
is not encrypted.
* If the DB cluster is not encrypted, then the restored DB cluster
source DB cluster.
encrypted using the AWS KMS key that was used to encrypt the
* If the DB cluster is encrypted, then the restored DB cluster is
following occurs:
If you do not specify a value for the `KmsKeyId` parameter, then the
the AWS KMS key identified by the `KmsKeyId` parameter.
encrypt the source DB cluster. The new DB cluster is encrypted with
with an AWS KMS key that is different from the AWS KMS key used to
You can restore to a new DB cluster and encrypt the new DB cluster
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 an encrypted DB cluster.
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>]
A list of VPC security groups that the new DB cluster belongs to.
@!attribute [rw] vpc_security_group_ids
@return [String]
Example: `mySubnetgroup`
`DBSubnetGroup`.
Constraints: If provided, must match the name of an existing
The DB subnet group name to use for the new DB cluster.
@!attribute [rw] db_subnet_group_name
@return [Integer]
Default: The default port for the engine.
Constraints: Must be a value from `1150` to `65535`.
The port number on which the new DB cluster accepts connections.
@!attribute [rw] port
@return [Boolean]
provided.
Constraints: Cannot be specified if the `RestoreToTime` parameter is
Default: `false`
latest restorable backup time, and `false` otherwise.
A value that is set to `true` to restore the DB cluster to the
@!attribute [rw] use_latest_restorable_time
@return [Time]
Example: `2015-03-07T23:45:00Z`
`copy-on-write`.
* Cannot be specified if the `RestoreType` parameter is
`true`.
* Cannot be specified if the `UseLatestRestorableTime` parameter is
not provided.
* Must be specified if the `UseLatestRestorableTime` parameter is
* Must be before the latest restorable time for the DB instance.
Constraints:
Valid values: A time in Universal Coordinated Time (UTC) format.
The date and time to restore the DB cluster to.
@!attribute [rw] restore_to_time
@return [String]
^
* Must match the identifier of an existing `DBCluster`.
Constraints:
The identifier of the source DB cluster from which to restore.
@!attribute [rw] source_db_cluster_identifier
@return [String]
* 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:
The name of the new DB cluster to be created.
@!attribute [rw] db_cluster_identifier
}
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,
use_latest_restorable_time: false,
restore_to_time: Time.now,
source_db_cluster_identifier: “String”, # required
db_cluster_identifier: “String”, # required
{
data as a hash:
@note When making an API call, you may pass RestoreDBClusterToPointInTimeMessage
Represents the input to RestoreDBClusterToPointInTime.