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.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.048Z") @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

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    GatewayRouteHostnameMatch(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    GatewayRouteHostnameMatch(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    bind(Construct scope)
    Returns the gateway route host name match configuration.
    endsWith(String suffix)
    The value of the host name with the given name must end with the specified characters.
    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

      @Stability(Stable) @NotNull public static GatewayRouteHostnameMatch exactly(@NotNull String name)
      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 Construct scope)
      Returns the gateway route host name match configuration.

      Parameters:
      scope - This parameter is required.