Class AmazonApiGatewayUtils

java.lang.Object
io.micronaut.aws.apigateway.AmazonApiGatewayUtils

public final class AmazonApiGatewayUtils extends Object
Utility class to use when working with Amazon API Gateway.
Since:
3.10.0
Author:
Sergio del Amo
See Also:
  • Method Details

    • isAmazonApiGatewayHost

      public static boolean isAmazonApiGatewayHost(@NonNull @NonNull String host)
      Parameters:
      host - the request host. For example obtained via HttpHostResolver API.
      Returns:
      whether the host matches API Gateway's default domain name format `https://{restapi-id}.execute-api.{region}.amazonaws.com/{stageName}`.