AWS
enable_access_log
Enable or disable access logs of ELB
Changes the security groups for the specified load balancer(s)
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosaws.elbv2.actions |
Name | set_security_groups |
Return | list |
This action will replace the existing security groups on an application load balancer with the specified security groups.
Usage
JSON
{
"name": "set-security-groups",
"type": "action",
"provider": {
"type": "python",
"module": "chaosaws.elbv2.actions",
"func": "set_security_groups",
"arguments": {
"load_balancer_names": [],
"security_group_ids": []
}
}
}
YAML
name: set-security-groups
provider:
arguments:
load_balancer_names: []
security_group_ids: []
func: set_security_groups
module: chaosaws.elbv2.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
load_balancer_names | list | Yes | Load Balancer Names | ||
security_group_ids | list | Yes | Security Group IDs | List of security group identifiers |
returns
[
{
"LoadBalancerArn": "string",
"SecurityGroupIds": ["sg-0000000", "sg-0000001"]
},
...
]
Signature
def set_security_groups(
load_balancer_names: List[str],
security_group_ids: List[str],
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> List[Dict[str, Any]]:
pass