import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Associates a subnet with a route table. The subnet and route table must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. A route table can be associated with multiple subnets. To create a route table, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-routetable.html">AWS::EC2::RouteTable</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetroutetableassociation.html">the AWS Docs</a>
*/
export function subnetRouteTableAssociation(subnetRouteTableAssociationProps) {
    return new AwsResource('AWS::EC2::SubnetRouteTableAssociation', subnetRouteTableAssociationProps, { Id: 'Id' });
}
