environment_vlans
Creates, updates, deletes, gets or lists an environment_vlans resource.
Overview
| Name | environment_vlans |
| Type | Resource |
| Id | aws.evs.environment_vlans |
Fields
The following fields are returned by SELECT queries:
- list_environment_vlans
| Name | Datatype | Description |
|---|---|---|
availability_zone | string | The availability zone of the VLAN. |
cidr | string | The CIDR block of the VLAN. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. (pattern: <code>((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/(3[0-2]|[1-2][0-9]|[0-9])</code>) |
created_at | string (date-time) | The date and time that the VLAN was created. |
eip_associations | array | An array of Elastic IP address associations. |
function_name | string | The VMware VCF traffic type that is carried over the VLAN. For example, a VLAN with a functionName of hcx is being used to carry VMware HCX traffic. |
is_public | boolean | Determines if the VLAN that Amazon EVS provisions is public or private. |
modified_at | string (date-time) | The date and time that the VLAN was modified. |
network_acl_id | string | A unique ID for a network access control list. (pattern: <code>acl-[a-zA-Z0-9_-]+</code>) |
state_details | string | The state details of the VLAN. |
subnet_id | string | The unique ID of the VLAN subnet. (pattern: <code>subnet-[a-f0-9]{8}([a-f0-9]{9})?</code>) |
vlan_id | integer | The unique ID of the VLAN. |
vlan_state | string | The state of the VLAN. (CREATING, CREATED, DELETING, DELETED, CREATE_FAILED) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_environment_vlans | select | region | Lists environment VLANs that are associated with the specified environment. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_environment_vlans
Lists environment VLANs that are associated with the specified environment.
SELECT
availability_zone,
cidr,
created_at,
eip_associations,
function_name,
is_public,
modified_at,
network_acl_id,
state_details,
subnet_id,
vlan_id,
vlan_state
FROM aws.evs.environment_vlans
WHERE region = '{{ region }}' -- required
;