RouteReference
- class aws_cdk.aws_apigatewayv2.RouteReference(*, api_id, route_id)
Bases:
object
A reference to a Route resource.
- Parameters:
api_id (
str
) – The ApiId of the Route resource.route_id (
str
) – The RouteId 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_apigatewayv2 as apigatewayv2 route_reference = apigatewayv2.RouteReference( api_id="apiId", route_id="routeId" )
Attributes
- api_id
The ApiId of the Route resource.
- route_id
The RouteId of the Route resource.