AWS
instance_state
Determines if EC2 instances match desired state
Below are the details and signature of the activity Python module.
Type | probe |
Module | chaosaws.ec2.probes |
Name | count_min_instances |
Return | boolean |
Usage
JSON
{
"name": "describe-instances",
"type": "probe",
"provider": {
"type": "python",
"module": "chaosaws.ec2.probes",
"func": "describe_instances",
"arguments": {
"filters": []
}
}
}
YAML
name: describe-instances
provider:
arguments:
filters: []
func: describe_instances
module: chaosaws.ec2.probes
type: python
type: probe
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
filters | list | null | No | Instance Filters | List of key/value pairs to select instances |
Please refer to https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ec2/client/describe_instances.html# for details on filters.
Signature
def describe_instances(
filters: List[Dict[str, Any]],
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
pass