@Stability(value=Experimental) @Internal public static final class HttpApiProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HttpApiProps
HttpApiProps
software.amazon.jsii.JsiiObject.InitializationMode
HttpApiProps.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, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected 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()
HttpApiProps
Default: - id of the HttpApi construct.
getApiName
in interface HttpApiProps
public final CorsPreflightOptions getCorsPreflight()
HttpApiProps
Default: - CORS disabled.
getCorsPreflight
in interface HttpApiProps
public final Boolean getCreateDefaultStage()
HttpApiProps
Default: true
getCreateDefaultStage
in interface HttpApiProps
public final List<String> getDefaultAuthorizationScopes()
HttpApiProps
Default: - no default authorization scopes
getDefaultAuthorizationScopes
in interface HttpApiProps
public final IHttpRouteAuthorizer getDefaultAuthorizer()
HttpApiProps
Default: - No authorizer
getDefaultAuthorizer
in interface HttpApiProps
public final DomainMappingOptions getDefaultDomainMapping()
HttpApiProps
Default: - no default domain mapping configured. meaningless if `createDefaultStage` is `false`.
getDefaultDomainMapping
in interface HttpApiProps
public final HttpRouteIntegration getDefaultIntegration()
HttpApiProps
Default: - none
getDefaultIntegration
in interface HttpApiProps
public final String getDescription()
HttpApiProps
Default: - none
getDescription
in interface HttpApiProps
public 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.JsiiSerializable
Copyright © 2023. All rights reserved.