Skip to main content

subnet_route_table_association

Gets an individual subnet_route_table_association resource

Overview

Namesubnet_route_table_association
TypeResource
Descriptionsubnet_route_table_association
Idawscc.ec2.subnet_route_table_association

Fields

NameDatatypeDescription
idstring
route_table_idstringThe ID of the route table.<br/> The physical ID changes when the route table ID is changed.
subnet_idstringThe ID of the subnet.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
id,
route_table_id,
subnet_id
FROM awscc.ec2.subnet_route_table_association
WHERE data__Identifier = '<Id>';

Permissions

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

Read

ec2:DescribeRouteTables

Delete

ec2:DisassociateRouteTable,
ec2:DescribeSubnets,
ec2:DescribeRouteTables