Activity as code
Below are the details and signature of the activity Python module.
| |
---|
Type | action |
Module | chaosaws.asg.actions |
Name | detach_random_volume |
Return | list |
Usage
JSON
{
"name": "detach-random-volume",
"type": "action",
"provider": {
"type": "python",
"module": "chaosaws.asg.actions",
"func": "detach_random_volume"
}
}
YAML
name: detach-random-volume
provider:
func: detach_random_volume
module: chaosaws.asg.actions
type: python
type: action
Arguments
Name | Type | Default | Required |
---|
asg_names | list | null | No |
tags | list | null | No |
force | boolean | true | No |
Signature
def detach_random_volume(
asg_names: List[str] = None,
tags: List[Dict[str, str]] = None,
force: bool = True,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> List[Dict[str, Any]]:
pass