actionRDS

reboot_db_instance

Forces a reboot of your DB instance

Activity as code

Below are the details and signature of the activity Python module.

Typeaction
Modulechaosaws.rds.actions
Namereboot_db_instance
Returnmapping

Usage

JSON

{
  "name": "reboot-db-instance",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaosaws.rds.actions",
    "func": "reboot_db_instance",
    "arguments": {
      "db_instance_identifier": ""
    }
  }
}

YAML

name: reboot-db-instance
provider:
  arguments:
    db_instance_identifier: ""
  func: reboot_db_instance
  module: chaosaws.rds.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
db_instance_identifierstringYesDB Instance IDDatabase instance identifier
force_failoverbooleanfalseNoForceForce the failover operation

Signature

def reboot_db_instance(
        db_instance_identifier: str,
        force_failover: bool = False,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass