subnet_route_table_association
Gets an individual subnet_route_table_association
resource
Overview
Name | subnet_route_table_association |
Type | Resource |
Description | subnet_route_table_association |
Id | awscc.ec2.subnet_route_table_association |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
route_table_id | string | The ID of the route table.<br/> The physical ID changes when the route table ID is changed. |
subnet_id | string | The ID of the subnet. |
region | string | AWS 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