@Stability(value=Experimental) @Internal public static final class HttpApiProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HttpApiProps
HttpApiPropssoftware.amazon.jsii.JsiiObject.InitializationModeHttpApiProps.Builder, HttpApiProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(HttpApiProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
HttpApiProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getApiName()
(experimental) Name for the HTTP API resource.
|
CorsPreflightOptions |
getCorsPreflight()
(experimental) Specifies a CORS configuration for an API.
|
Boolean |
getCreateDefaultStage()
(experimental) Whether a default stage and deployment should be automatically created.
|
List<String> |
getDefaultAuthorizationScopes()
(experimental) Default OIDC scopes attached to all routes in the gateway, unless explicitly configured on the route.
|
IHttpRouteAuthorizer |
getDefaultAuthorizer()
(experimental) Default Authorizer to applied to all routes in the gateway.
|
DomainMappingOptions |
getDefaultDomainMapping()
(experimental) Configure a custom domain with the API mapping resource to the HTTP API.
|
HttpRouteIntegration |
getDefaultIntegration()
(experimental) An integration that will be configured on the catch-all route ($default).
|
String |
getDescription()
(experimental) The description of the API.
|
Boolean |
getDisableExecuteApiEndpoint()
(experimental) Specifies whether clients can invoke your API using the default endpoint.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(HttpApiProps.Builder builder)
HttpApiProps.Builder.public final String getApiName()
HttpApiPropsDefault: - id of the HttpApi construct.
getApiName in interface HttpApiPropspublic final CorsPreflightOptions getCorsPreflight()
HttpApiPropsDefault: - CORS disabled.
getCorsPreflight in interface HttpApiPropshttps://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.htmlpublic final Boolean getCreateDefaultStage()
HttpApiPropsDefault: true
getCreateDefaultStage in interface HttpApiPropspublic final List<String> getDefaultAuthorizationScopes()
HttpApiPropsDefault: - no default authorization scopes
getDefaultAuthorizationScopes in interface HttpApiPropspublic final IHttpRouteAuthorizer getDefaultAuthorizer()
HttpApiPropsDefault: - No authorizer
getDefaultAuthorizer in interface HttpApiPropspublic final DomainMappingOptions getDefaultDomainMapping()
HttpApiPropsDefault: - no default domain mapping configured. meaningless if `createDefaultStage` is `false`.
getDefaultDomainMapping in interface HttpApiPropspublic final HttpRouteIntegration getDefaultIntegration()
HttpApiPropsDefault: - none
getDefaultIntegration in interface HttpApiPropspublic final String getDescription()
HttpApiPropsDefault: - none
getDescription in interface HttpApiPropspublic final Boolean getDisableExecuteApiEndpoint()
HttpApiProps
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.
Default: false execute-api endpoint enabled.
getDisableExecuteApiEndpoint in interface HttpApiProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.