trunk_interface_associations
Creates, updates, deletes, gets or lists a trunk_interface_associations resource.
Overview
| Name | trunk_interface_associations |
| Type | Resource |
| Id | aws.ec2.trunk_interface_associations |
Fields
The following fields are returned by SELECT queries:
- describe_trunk_interface_associations
| Name | Datatype | Description |
|---|---|---|
association_id | string | The ID of the association. |
branch_interface_id | string | The ID of the branch network interface. |
gre_key | integer | The application key when you use the GRE protocol. |
interface_protocol | string | The interface protocol. Valid values are VLAN and GRE. |
tags | string | The tags for the trunk interface association. |
trunk_interface_id | string | The ID of the trunk network interface. |
vlan_id | integer | The ID of the VLAN when you use the VLAN protocol. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_trunk_interface_associations | select | region | AssociationId, DryRun, Filter, NextToken, MaxResults | Describes one or more network interface trunk associations. |
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) |
AssociationId | array | The IDs of the associations. |
DryRun | boolean | Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. |
Filter | array | One or more filters. gre-key - The ID of a trunk interface association. interface-protocol - The interface protocol. Valid values are VLAN and GRE. |
MaxResults | integer | The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. |
NextToken | string | The token for the next page of results. |
SELECT examples
- describe_trunk_interface_associations
Describes one or more network interface trunk associations.
SELECT
association_id,
branch_interface_id,
gre_key,
interface_protocol,
tags,
trunk_interface_id,
vlan_id
FROM aws.ec2.trunk_interface_associations
WHERE region = '{{ region }}' -- required
AND AssociationId = '{{ AssociationId }}'
AND DryRun = '{{ DryRun }}'
AND Filter = '{{ Filter }}'
AND NextToken = '{{ NextToken }}'
AND MaxResults = '{{ MaxResults }}'
;