Class AddRoutesOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigatewayv2.AddRoutesOptions.Jsii$Proxy
All Implemented Interfaces:
AddRoutesOptions, BatchHttpRouteOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
AddRoutesOptions

@Stability(Experimental) @Internal public static final class AddRoutesOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AddRoutesOptions
An implementation for AddRoutesOptions
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(AddRoutesOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the AddRoutesOptions.Builder.
  • Method Details

    • getPath

      public final String getPath()
      Description copied from interface: AddRoutesOptions
      (experimental) The path at which all of these routes are configured.
      Specified by:
      getPath in interface AddRoutesOptions
    • getAuthorizationScopes

      public final List<String> getAuthorizationScopes()
      Description copied from interface: AddRoutesOptions
      (experimental) The list of OIDC scopes to include in the authorization.

      These scopes will override the default authorization scopes on the gateway. Set to [] to remove default scopes

      Default: - uses defaultAuthorizationScopes if configured on the API, otherwise none.

      Specified by:
      getAuthorizationScopes in interface AddRoutesOptions
    • getAuthorizer

      public final IHttpRouteAuthorizer getAuthorizer()
      Description copied from interface: AddRoutesOptions
      (experimental) Authorizer to be associated to these routes.

      Use NoneAuthorizer to remove the default authorizer for the api

      Default: - uses the default authorizer if one is specified on the HttpApi

      Specified by:
      getAuthorizer in interface AddRoutesOptions
    • getMethods

      public final List<HttpMethod> getMethods()
      Description copied from interface: AddRoutesOptions
      (experimental) The HTTP methods to be configured.

      Default: HttpMethod.ANY

      Specified by:
      getMethods in interface AddRoutesOptions
    • getIntegration

      public final HttpRouteIntegration getIntegration()
      Description copied from interface: BatchHttpRouteOptions
      (experimental) The integration to be configured on this route.
      Specified by:
      getIntegration in interface BatchHttpRouteOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object