BatchHttpRouteOptions

class aws_cdk.aws_apigatewayv2.BatchHttpRouteOptions(*, integration)

Bases: object

Options used when configuring multiple routes, at once.

The options here are the ones that would be configured for all being set up.

Parameters:

integration (HttpRouteIntegration) – The integration to be configured on this route.

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

# http_route_integration: apigatewayv2.HttpRouteIntegration

batch_http_route_options = apigatewayv2.BatchHttpRouteOptions(
    integration=http_route_integration
)

Attributes

integration

The integration to be configured on this route.