AWS
describe_auto_scaling_groups
Returns AWS descriptions for provided ASG(s)
Below are the details and signature of the activity Python module.
Usage
JSON
{
"name": "change-subnets",
"type": "action",
"provider": {
"type": "python",
"module": "chaosaws.asg.actions",
"func": "change_subnets",
"arguments": {
"subnets": []
}
}
}
YAML
name: change-subnets
provider:
arguments:
subnets: []
func: change_subnets
module: chaosaws.asg.actions
type: python
type: action
Type | action |
Module | chaosaws.asg.actions |
Name | change_subnets |
Return | None |
Arguments
Name | Type | Default | Required |
---|---|---|---|
subnets | list | Yes | |
asg_names | list | null | No |
tags | list | null | No |
One of *asg_names: a list of one or more asg names *tags: a list of key/value pair to identify asg(s) by
subnets: a list of subnet IDs to associate with the ASG
tags
are expected as a list of dictionary objects:
[
{'Key': 'TagKey1', 'Value': 'TagValue1'},
{'Key': 'TagKey2', 'Value': 'TagValue2'},
...
]
Signature
def change_subnets(subnets: List[str],
asg_names: List[str] = None,
tags: List[dict] = None,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None):
pass