class Aws::DocDB::Types::RestoreDBClusterToPointInTimeMessage


@see docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RestoreDBClusterToPointInTimeMessage AWS API Documentation
@return [Boolean]
deleted.
‘DeletionProtection` protects clusters from being accidentally
unless it is modified and `DeletionProtection` is disabled.
`DeletionProtection` is enabled, the cluster cannot be deleted
Specifies whether this cluster can be deleted. If
@!attribute [rw] deletion_protection
@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]
then the restore request is rejected.
If `DBClusterIdentifier` refers to a cluster that is not encrypted,
encrypted.
* If the cluster is not encrypted, then the restored cluster is not
cluster.
encrypted using the KMS key that was used to encrypt the source
* If the cluster is encrypted, then the restored cluster is
following occurs:
If you do not specify a value for the `KmsKeyId` parameter, then the
identified by the `KmsKeyId` parameter.
source cluster. The new DB cluster is encrypted with the KMS key
KMS key that is different from the KMS key used to encrypt the
You can restore to a new cluster and encrypt the new cluster with an
encryption key.
then you can use the KMS key alias instead of the ARN for the KMS
that owns the KMS encryption key used to encrypt the new cluster,
encryption key. If you are restoring a cluster with the same account
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS
from an encrypted cluster.
The KMS key identifier to use when restoring an encrypted cluster
@!attribute [rw] kms_key_id
@return [Array<Types::Tag>]
The tags to be assigned to the restored cluster.
@!attribute [rw] tags
@return [Array<String>]
A list of VPC security groups that the new 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 subnet group name to use for the new 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 cluster accepts connections.
@!attribute [rw] port
@return [Boolean]
provided.
Constraints: Cannot be specified if the `RestoreToTime` parameter is
Default: `false`
restorable backup time, and `false` otherwise.
A value that is set to `true` to restore the cluster to the latest
@!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 instance.
Constraints:
Valid values: A time in Universal Coordinated Time (UTC) format.
The date and time to restore the cluster to.
@!attribute [rw] restore_to_time
@return [String]
^
* Must match the identifier of an existing `DBCluster`.
Constraints:
The identifier of the source 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 cluster to be created.
@!attribute [rw] db_cluster_identifier
}
deletion_protection: false,
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.