@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.530Z") @Stability(value=Stable) public abstract class GatewayRouteHostnameMatch extends software.amazon.jsii.JsiiObject
Example:
// Example automatically generated from non-compiling source. May contain errors.
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(software.constructs.Construct scope)
Returns the gateway route host name match configuration.
|
static GatewayRouteHostnameMatch |
endsWith(String suffix)
The value of the host name with the given name must end with the specified characters.
|
static GatewayRouteHostnameMatch |
exactly(String name)
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=Stable) protected GatewayRouteHostnameMatch()
@Stability(value=Stable) @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=Stable) @NotNull public static GatewayRouteHostnameMatch exactly(@NotNull String name)
name - The exact host name to match on. This parameter is required.@Stability(value=Stable) @NotNull public abstract GatewayRouteHostnameMatchConfig bind(@NotNull software.constructs.Construct scope)
scope - This parameter is required.Copyright © 2022. All rights reserved.