---
type: resource-type
title: SubnetRouteTableAssociation
description: aws resource type AWS::EC2::SubnetRouteTableAssociation
name: SubnetRouteTableAssociation
lexicon: aws
resource_type: AWS::EC2::SubnetRouteTableAssociation
---
`AWS::EC2::SubnetRouteTableAssociation`, a resource type of the aws lexicon.

## Properties

- `RouteTableId` (`string`, required): The ID of the route table. The physical ID changes when the route table ID is changed.
- `SubnetId` (`string`, required): The ID of the subnet.
- `Id` (`string`, optional)

## Attributes

- `Id`
