@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:24.346Z") @Stability(value=Experimental) public abstract class GatewayRouteHostnameMatch extends software.amazon.jsii.JsiiObject
Example:
VirtualGateway gateway;
VirtualService virtualService;
gateway.addGatewayRoute("gateway-route-grpc", GatewayRouteBaseProps.builder()
.routeSpec(GatewayRouteSpec.grpc(GrpcGatewayRouteSpecOptions.builder()
.routeTarget(virtualService)
.match(GrpcGatewayRouteMatch.builder()
.hostname(GatewayRouteHostnameMatch.endsWith(".example.com"))
.build())
.build()))
.build());
| Modifier | Constructor and Description |
|---|---|
protected |
GatewayRouteHostnameMatch() |
protected |
GatewayRouteHostnameMatch(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GatewayRouteHostnameMatch(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
abstract GatewayRouteHostnameMatchConfig |
bind(Construct scope)
(experimental) Returns the gateway route host name match configuration.
|
static GatewayRouteHostnameMatch |
endsWith(String suffix)
(experimental) The value of the host name with the given name must end with the specified characters.
|
static GatewayRouteHostnameMatch |
exactly(String name)
(experimental) The value of the host name must match the specified value exactly.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected GatewayRouteHostnameMatch(software.amazon.jsii.JsiiObjectRef objRef)
protected GatewayRouteHostnameMatch(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) protected GatewayRouteHostnameMatch()
@Stability(value=Experimental) @NotNull public static GatewayRouteHostnameMatch endsWith(@NotNull String suffix)
suffix - The specified ending characters of the host name to match on. This parameter is required.@Stability(value=Experimental) @NotNull public static GatewayRouteHostnameMatch exactly(@NotNull String name)
name - The exact host name to match on. This parameter is required.@Stability(value=Experimental) @NotNull public abstract GatewayRouteHostnameMatchConfig bind(@NotNull Construct scope)
scope - This parameter is required.Copyright © 2022. All rights reserved.