RouteReference
- class aws_cdk.aws_ec2.RouteReference(*, cidr_block, route_table_id)
Bases:
object
A reference to a Route resource.
- Parameters:
cidr_block (
str
) – The CidrBlock of the Route resource.route_table_id (
str
) – The RouteTableId of the Route resource.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ec2 as ec2 route_reference = ec2.RouteReference( cidr_block="cidrBlock", route_table_id="routeTableId" )
Attributes
- cidr_block
The CidrBlock of the Route resource.
- route_table_id
The RouteTableId of the Route resource.