| Package | Description |
|---|---|
| software.amazon.awscdk.services.apigatewayv2 |
AWS::APIGatewayv2 Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
HttpApi.Builder |
HttpApi.Builder.apiName(String apiName)
(experimental) Name for the HTTP API resource.
|
HttpApi.Builder |
HttpApi.Builder.corsPreflight(CorsPreflightOptions corsPreflight)
(experimental) Specifies a CORS configuration for an API.
|
static HttpApi.Builder |
HttpApi.Builder.create(software.constructs.Construct scope,
String id) |
HttpApi.Builder |
HttpApi.Builder.createDefaultStage(Boolean createDefaultStage)
(experimental) Whether a default stage and deployment should be automatically created.
|
HttpApi.Builder |
HttpApi.Builder.defaultAuthorizationScopes(List<String> defaultAuthorizationScopes)
(experimental) Default OIDC scopes attached to all routes in the gateway, unless explicitly configured on the route.
|
HttpApi.Builder |
HttpApi.Builder.defaultAuthorizer(IHttpRouteAuthorizer defaultAuthorizer)
(experimental) Default Authorizer to applied to all routes in the gateway.
|
HttpApi.Builder |
HttpApi.Builder.defaultDomainMapping(DomainMappingOptions defaultDomainMapping)
(experimental) Configure a custom domain with the API mapping resource to the HTTP API.
|
HttpApi.Builder |
HttpApi.Builder.defaultIntegration(HttpRouteIntegration defaultIntegration)
(experimental) An integration that will be configured on the catch-all route ($default).
|
HttpApi.Builder |
HttpApi.Builder.description(String description)
(experimental) The description of the API.
|
HttpApi.Builder |
HttpApi.Builder.disableExecuteApiEndpoint(Boolean disableExecuteApiEndpoint)
(experimental) Specifies whether clients can invoke your API using the default endpoint.
|
Copyright © 2022. All rights reserved.