aws dms reboot-replication-instance
Reboots a replication instance. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To reboot a replication instance
The following reboot-replication-instance example reboots a replication instance.
aws dms reboot-replication-instance --replication-instance-arn arn:aws:dms:us-west-2:123456789012:rep:T3OM7OUB5NM2LCVZF7JPGJRNUEIdentify--replication-instance-arnThe Amazon Resource Name (ARN) of the replication instance.Its output
{
"ReplicationInstance": {
"ReplicationInstanceIdentifier": "my-repl-instance",
"ReplicationInstanceClass": "dms.t2.micro",
"ReplicationInstanceStatus": "rebooting",
"AllocatedStorage": 5,
"InstanceCreateTime": 1590011235.952,
"ReplicationInstanceArn": "arn:aws:dms:us-west-2:123456789012:rep:T3OM7OUB5NM2LCVZF7JPGJRNUE"
}
}For more information, see Working with an AWS DMS Replication Instance in the AWS Database Migration Service User Guide.
Options
--force-failoverIf this parameter is true, the reboot is conducted through a Multi-AZ failover.--force-planned-failoverIf this parameter is true, the reboot is conducted through a planned Multi-AZ failover where resources are released and cleaned up prior to conducting the failover.--replication-instance-arnThe Amazon Resource Name (ARN) of the replication instance.