@Stability(value=Experimental) public static final class HttpApiProps.Builder extends Object implements software.amazon.jsii.Builder<HttpApiProps>
HttpApiProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public HttpApiProps.Builder apiName(String apiName)
HttpApiProps.getApiName()apiName - Name for the HTTP API resoruce.this@Stability(value=Experimental) public HttpApiProps.Builder corsPreflight(CorsPreflightOptions corsPreflight)
HttpApiProps.getCorsPreflight()corsPreflight - Specifies a CORS configuration for an API.this@Stability(value=Experimental) public HttpApiProps.Builder createDefaultStage(Boolean createDefaultStage)
HttpApiProps.getCreateDefaultStage()createDefaultStage - Whether a default stage and deployment should be automatically created.this@Stability(value=Experimental) public HttpApiProps.Builder defaultAuthorizationScopes(List<String> defaultAuthorizationScopes)
HttpApiProps.getDefaultAuthorizationScopes()defaultAuthorizationScopes - Default OIDC scopes attached to all routes in the gateway, unless explicitly configured on the route.this@Stability(value=Experimental) public HttpApiProps.Builder defaultAuthorizer(IHttpRouteAuthorizer defaultAuthorizer)
HttpApiProps.getDefaultAuthorizer()defaultAuthorizer - Default Authorizer to applied to all routes in the gateway.this@Stability(value=Experimental) public HttpApiProps.Builder defaultDomainMapping(DomainMappingOptions defaultDomainMapping)
HttpApiProps.getDefaultDomainMapping()defaultDomainMapping - Configure a custom domain with the API mapping resource to the HTTP API.this@Stability(value=Experimental) public HttpApiProps.Builder defaultIntegration(IHttpRouteIntegration defaultIntegration)
HttpApiProps.getDefaultIntegration()defaultIntegration - An integration that will be configured on the catch-all route ($default).this@Stability(value=Experimental) public HttpApiProps.Builder description(String description)
HttpApiProps.getDescription()description - The description of the API.this@Stability(value=Experimental) public HttpApiProps.Builder disableExecuteApiEndpoint(Boolean disableExecuteApiEndpoint)
HttpApiProps.getDisableExecuteApiEndpoint()disableExecuteApiEndpoint - 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}.amazonaws.com endpoint. Enable
this if you would like clients to use your custom domain name.this@Stability(value=Experimental) public HttpApiProps build()
build in interface software.amazon.jsii.Builder<HttpApiProps>HttpApiPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.