GatewayRouteSpec¶
-
class
aws_cdk.aws_appmesh.
GatewayRouteSpec
¶ Bases:
object
(experimental) Used to generate specs with different protocols for a GatewayRoute.
- Stability
experimental
- Stability
experimental
Methods
-
abstract
bind
(scope)¶ (experimental) Called when the GatewayRouteSpec type is initialized.
Can be used to enforce mutual exclusivity with future properties
- Parameters
scope (
Construct
) –- Stability
experimental
- Return type
Static Methods
-
classmethod
grpc
(*, match, route_target)¶ (experimental) Creates an GRPC Based GatewayRoute.
- Parameters
match (
GrpcGatewayRouteMatch
) – (experimental) The criterion for determining a request match for this GatewayRoute.route_target (
IVirtualService
) – (experimental) The VirtualService this GatewayRoute directs traffic to.
- Stability
experimental
- Return type
-
classmethod
http
(*, route_target, match=None)¶ (experimental) Creates an HTTP Based GatewayRoute.
- Parameters
route_target (
IVirtualService
) – (experimental) The VirtualService this GatewayRoute directs traffic to.match (
Optional
[HttpGatewayRouteMatch
]) – (experimental) The criterion for determining a request match for this GatewayRoute. Default: - matches on ‘/’
- Stability
experimental
- Return type
-
classmethod
http2
(*, route_target, match=None)¶ (experimental) Creates an HTTP2 Based GatewayRoute.
- Parameters
route_target (
IVirtualService
) – (experimental) The VirtualService this GatewayRoute directs traffic to.match (
Optional
[HttpGatewayRouteMatch
]) – (experimental) The criterion for determining a request match for this GatewayRoute. Default: - matches on ‘/’
- Stability
experimental
- Return type