HttpGatewayRouteSpecOptions

class aws_cdk.aws_appmesh.HttpGatewayRouteSpecOptions(*, route_target, match=None)

Bases: object

Properties specific for HTTP Based GatewayRoutes.

Parameters
  • route_target (IVirtualService) – The VirtualService this GatewayRoute directs traffic to.

  • match (Optional[HttpGatewayRouteMatch]) – The criterion for determining a request match for this GatewayRoute. When path match is defined, this may optionally determine the path rewrite configuration. Default: - matches any path and automatically rewrites the path to ‘/’

Attributes

match

The criterion for determining a request match for this GatewayRoute.

When path match is defined, this may optionally determine the path rewrite configuration.

Default
  • matches any path and automatically rewrites the path to ‘/’

Return type

Optional[HttpGatewayRouteMatch]

route_target

The VirtualService this GatewayRoute directs traffic to.

Return type

IVirtualService