Class HttpApiProps.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Experimental) @Internal public static final class HttpApiProps.Jsii$Proxy extends implements HttpApiProps
An implementation for HttpApiProps
  • Constructor Details

    • Jsii$Proxy

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

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

    • getApiName

      public final String getApiName()
      Description copied from interface: HttpApiProps
      (experimental) Name for the HTTP API resource.

      Default: - id of the HttpApi construct.

      Specified by:
      getApiName in interface HttpApiProps
    • getCorsPreflight

      public final CorsPreflightOptions getCorsPreflight()
      Description copied from interface: HttpApiProps
      (experimental) Specifies a CORS configuration for an API.

      Default: - CORS disabled.

      Specified by:
      getCorsPreflight in interface HttpApiProps
      See Also:
    • getCreateDefaultStage

      public final Boolean getCreateDefaultStage()
      Description copied from interface: HttpApiProps
      (experimental) Whether a default stage and deployment should be automatically created.

      Default: true

      Specified by:
      getCreateDefaultStage in interface HttpApiProps
    • getDefaultAuthorizationScopes

      public final List<String> getDefaultAuthorizationScopes()
      Description copied from interface: HttpApiProps
      (experimental) Default OIDC scopes attached to all routes in the gateway, unless explicitly configured on the route.

      Default: - no default authorization scopes

      Specified by:
      getDefaultAuthorizationScopes in interface HttpApiProps
    • getDefaultAuthorizer

      public final IHttpRouteAuthorizer getDefaultAuthorizer()
      Description copied from interface: HttpApiProps
      (experimental) Default Authorizer to applied to all routes in the gateway.

      Default: - No authorizer

      Specified by:
      getDefaultAuthorizer in interface HttpApiProps
    • getDefaultDomainMapping

      public final DomainMappingOptions getDefaultDomainMapping()
      Description copied from interface: HttpApiProps
      (experimental) Configure a custom domain with the API mapping resource to the HTTP API.

      Default: - no default domain mapping configured. meaningless if `createDefaultStage` is `false`.

      Specified by:
      getDefaultDomainMapping in interface HttpApiProps
    • getDefaultIntegration

      public final HttpRouteIntegration getDefaultIntegration()
      Description copied from interface: HttpApiProps
      (experimental) An integration that will be configured on the catch-all route ($default).

      Default: - none

      Specified by:
      getDefaultIntegration in interface HttpApiProps
    • getDescription

      public final String getDescription()
      Description copied from interface: HttpApiProps
      (experimental) The description of the API.

      Default: - none

      Specified by:
      getDescription in interface HttpApiProps
    • getDisableExecuteApiEndpoint

      public final Boolean getDisableExecuteApiEndpoint()
      Description copied from interface: HttpApiProps
      (experimental) Specifies whether clients can invoke your API using the default endpoint.

      By default, clients can invoke your API with the default https://{api_id}.execute-api.{region} endpoint. Enable this if you would like clients to use your custom domain name.

      Default: false execute-api endpoint enabled.

      Specified by:
      getDisableExecuteApiEndpoint in interface HttpApiProps
    • $jsii$toJson

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

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

      public final int hashCode()
      hashCode in class Object