Class GatewayRouteHostnameMatch
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appmesh.GatewayRouteHostnameMatch
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:11.263Z")
@Stability(Stable)
public abstract class GatewayRouteHostnameMatch
extends software.amazon.jsii.JsiiObject
Used to generate host name matching methods.
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());
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
GatewayRouteHostnameMatch
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
GatewayRouteHostnameMatch
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionabstract GatewayRouteHostnameMatchConfig
bind
(software.constructs.Construct scope) Returns the gateway route host name match configuration.static GatewayRouteHostnameMatch
The value of the host name with the given name must end with the specified characters.static GatewayRouteHostnameMatch
The value of the host name must match the specified value exactly.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
GatewayRouteHostnameMatch
protected GatewayRouteHostnameMatch(software.amazon.jsii.JsiiObjectRef objRef) -
GatewayRouteHostnameMatch
protected GatewayRouteHostnameMatch(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
GatewayRouteHostnameMatch
@Stability(Stable) protected GatewayRouteHostnameMatch()
-
-
Method Details
-
endsWith
@Stability(Stable) @NotNull public static GatewayRouteHostnameMatch endsWith(@NotNull String suffix) The value of the host name with the given name must end with the specified characters.- Parameters:
suffix
- The specified ending characters of the host name to match on. This parameter is required.
-
exactly
The value of the host name must match the specified value exactly.- Parameters:
name
- The exact host name to match on. This parameter is required.
-
bind
@Stability(Stable) @NotNull public abstract GatewayRouteHostnameMatchConfig bind(@NotNull software.constructs.Construct scope) Returns the gateway route host name match configuration.- Parameters:
scope
- This parameter is required.
-