AWS
is_access_log_enabled
Verify access logging enabled on load balancer
Changes the subnets for the specified application load balancer(s)
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosaws.elbv2.actions |
Name | set_subnets |
Return | list |
This action will replace the existing security groups on an application load balancer with the specified security groups.
Usage
JSON
{
"name": "set-subnets",
"type": "action",
"provider": {
"type": "python",
"module": "chaosaws.elbv2.actions",
"func": "set_subnets",
"arguments": {
"load_balancer_names": [],
"subnet_ids": []
}
}
}
YAML
name: set-subnets
provider:
arguments:
load_balancer_names: []
subnet_ids: []
func: set_subnets
module: chaosaws.elbv2.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
load_balancer_names | list | Yes | Load Balancer Names | ||
subnet_ids | list | Yes | Subnet IDs | List of subnet identifiers |
returns
[
{
"LoadBalancerArn": "string",
"AvailabilityZones": {
"ZoneName": "string",
"SubnetId": "string",
"LoadBalancerAddresses": [
{
"IpAddress": "string",
"AllocationId": "string"
}
]
}
},
...
]
Signature
def set_subnets(
load_balancer_names: List[str],
subnet_ids: List[str],
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> List[Dict[str, Any]]:
pass