probeRDS

instance_status

Returns the selected instance's status

Activity as code

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

Typeprobe
Modulechaosaws.rds.probes
Nameinstance_status
ReturnUnion[str, List[str]]

Usage

JSON

{
  "name": "instance-status",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosaws.rds.probes",
    "func": "instance_status"
  }
}

YAML

name: instance-status
provider:
  func: instance_status
  module: chaosaws.rds.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
instance_idstringnullNoInstance IDInstance identifier
filterslistnullNoFiltersList of filters to use instead of a single instance id

Signature

def instance_status(
        instance_id: str = None,
        filters: List[Dict[str, Any]] = None,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> Union[str, List[str]]:
    pass