@Generated(value="jsii-pacmak/1.14.1 (build 828de8a)", date="2020-11-24T22:28:02.499Z") @Stability(value=Experimental) public interface HttpApiProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
HttpApiProps.Builder
A builder for
HttpApiProps |
static class |
HttpApiProps.Jsii$Proxy
An implementation for
HttpApiProps |
| Modifier and Type | Method and Description |
|---|---|
static HttpApiProps.Builder |
builder() |
default String |
getApiName()
(experimental) Name for the HTTP API resoruce.
|
default CorsPreflightOptions |
getCorsPreflight()
(experimental) Specifies a CORS configuration for an API.
|
default Boolean |
getCreateDefaultStage()
(experimental) Whether a default stage and deployment should be automatically created.
|
default DefaultDomainMappingOptions |
getDefaultDomainMapping()
(experimental) Configure a custom domain with the API mapping resource to the HTTP API.
|
default IHttpRouteIntegration |
getDefaultIntegration()
(experimental) An integration that will be configured on the catch-all route ($default).
|
default String |
getDescription()
(experimental) The description of the API.
|
@Stability(value=Experimental) @Nullable default String getApiName()
Default: - id of the HttpApi construct.
@Stability(value=Experimental) @Nullable default CorsPreflightOptions getCorsPreflight()
Default: - CORS disabled.
https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html@Stability(value=Experimental) @Nullable default Boolean getCreateDefaultStage()
Default: true
@Stability(value=Experimental) @Nullable default DefaultDomainMappingOptions getDefaultDomainMapping()
Default: - no default domain mapping configured. meaningless if `createDefaultStage` is `false`.
@Stability(value=Experimental) @Nullable default IHttpRouteIntegration getDefaultIntegration()
Default: - none
@Stability(value=Experimental) @Nullable default String getDescription()
Default: - none
@Stability(value=Experimental) static HttpApiProps.Builder builder()
HttpApiProps.Builder of HttpApiPropsCopyright © 2020. All rights reserved.