Skip to main content

local_gateway_route_table_virtual_interface_group_associations

Creates, updates, deletes or gets a local_gateway_route_table_virtual_interface_group_association resource or lists local_gateway_route_table_virtual_interface_group_associations in a region

Overview

Namelocal_gateway_route_table_virtual_interface_group_associations
TypeResource
DescriptionDescribes a local gateway route table virtual interface group association for a local gateway.
Idaws.ec2.local_gateway_route_table_virtual_interface_group_associations

Fields

NameDatatypeDescription
local_gateway_route_table_virtual_interface_group_association_idstringThe ID of the local gateway route table virtual interface group association.
local_gateway_idstringThe ID of the local gateway.
local_gateway_route_table_idstringThe ID of the local gateway route table.
local_gateway_route_table_arnstringThe ARN of the local gateway route table.
local_gateway_virtual_interface_group_idstringThe ID of the local gateway route table virtual interface group.
owner_idstringThe owner of the local gateway route table virtual interface group association.
statestringThe state of the local gateway route table virtual interface group association.
tagsarrayThe tags for the local gateway route table virtual interface group association.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTLocalGatewayRouteTableId, LocalGatewayVirtualInterfaceGroupId, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all local_gateway_route_table_virtual_interface_group_associations in a region.

SELECT
region,
local_gateway_route_table_virtual_interface_group_association_id,
local_gateway_id,
local_gateway_route_table_id,
local_gateway_route_table_arn,
local_gateway_virtual_interface_group_id,
owner_id,
state,
tags
FROM aws.ec2.local_gateway_route_table_virtual_interface_group_associations
WHERE region = 'us-east-1';

Gets all properties from an individual local_gateway_route_table_virtual_interface_group_association.

SELECT
region,
local_gateway_route_table_virtual_interface_group_association_id,
local_gateway_id,
local_gateway_route_table_id,
local_gateway_route_table_arn,
local_gateway_virtual_interface_group_id,
owner_id,
state,
tags
FROM aws.ec2.local_gateway_route_table_virtual_interface_group_associations
WHERE region = 'us-east-1' AND data__Identifier = '<LocalGatewayRouteTableVirtualInterfaceGroupAssociationId>';

INSERT example

Use the following StackQL query and manifest file to create a new local_gateway_route_table_virtual_interface_group_association resource, using stack-deploy.

/*+ create */
INSERT INTO aws.ec2.local_gateway_route_table_virtual_interface_group_associations (
LocalGatewayRouteTableId,
LocalGatewayVirtualInterfaceGroupId,
region
)
SELECT
'{{ LocalGatewayRouteTableId }}',
'{{ LocalGatewayVirtualInterfaceGroupId }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.ec2.local_gateway_route_table_virtual_interface_group_associations
WHERE data__Identifier = '<LocalGatewayRouteTableVirtualInterfaceGroupAssociationId>'
AND region = 'us-east-1';

Permissions

To operate on the local_gateway_route_table_virtual_interface_group_associations resource, the following permissions are required:

Create

ec2:CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation,
ec2:DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations,
ec2:CreateTags

Read

ec2:DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations

Update

ec2:DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations,
ec2:CreateTags,
ec2:DeleteTags

Delete

ec2:DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation,
ec2:DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations,
ec2:DeleteTags

List

ec2:DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations