Skip to main content

local_gateway_route_tablevpc_association

Gets or updates an individual local_gateway_route_tablevpc_association resource, use local_gateway_route_tablevpc_associations to retrieve a list of resources or to create or delete a resource.

Overview

Namelocal_gateway_route_tablevpc_association
TypeResource
DescriptionDescribes an association between a local gateway route table and a VPC.
Idaws.ec2.local_gateway_route_tablevpc_association

Fields

NameDatatypeDescription
local_gateway_idstringThe ID of the local gateway.
local_gateway_route_table_idstringThe ID of the local gateway route table.
local_gateway_route_table_vpc_association_idstringThe ID of the association.
statestringThe state of the association.
vpc_idstringThe ID of the VPC.
tagsarrayThe tags for the association.
regionstringAWS region.

Methods

NameAccessible byRequired Params
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
get_resourceSELECTdata__Identifier, region

SELECT Example

SELECT
region,
local_gateway_id,
local_gateway_route_table_id,
local_gateway_route_table_vpc_association_id,
state,
vpc_id,
tags
FROM aws.ec2.local_gateway_route_tablevpc_association
WHERE region = 'us-east-1' AND data__Identifier = '<LocalGatewayRouteTableVpcAssociationId>';

Permissions

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

Read

ec2:DescribeLocalGatewayRouteTableVpcAssociations

Update

ec2:DescribeLocalGatewayRouteTableVpcAssociations,
ec2:CreateTags,
ec2:DeleteTags