@Stability(value=Stable) @Internal public static final class FunctionUrlCorsOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FunctionUrlCorsOptions
FunctionUrlCorsOptionssoftware.amazon.jsii.JsiiObject.InitializationModeFunctionUrlCorsOptions.Builder, FunctionUrlCorsOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(FunctionUrlCorsOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
FunctionUrlCorsOptions.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) |
Boolean |
getAllowCredentials()
Whether to allow cookies or other credentials in requests to your function URL.
|
List<String> |
getAllowedHeaders()
Headers that are specified in the Access-Control-Request-Headers header.
|
List<HttpMethod> |
getAllowedMethods()
An HTTP method that you allow the origin to execute.
|
List<String> |
getAllowedOrigins()
One or more origins you want customers to be able to access the bucket from.
|
List<String> |
getExposedHeaders()
One or more headers in the response that you want customers to be able to access from their applications.
|
Duration |
getMaxAge()
The time in seconds that your browser is to cache the preflight response for the specified resource.
|
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(FunctionUrlCorsOptions.Builder builder)
FunctionUrlCorsOptions.Builder.public final Boolean getAllowCredentials()
FunctionUrlCorsOptionsDefault: false
getAllowCredentials in interface FunctionUrlCorsOptionspublic final List<String> getAllowedHeaders()
FunctionUrlCorsOptionsDefault: - No headers allowed.
getAllowedHeaders in interface FunctionUrlCorsOptionspublic final List<HttpMethod> getAllowedMethods()
FunctionUrlCorsOptionsDefault: - [HttpMethod.ALL]
getAllowedMethods in interface FunctionUrlCorsOptionspublic final List<String> getAllowedOrigins()
FunctionUrlCorsOptionsDefault: - No origins allowed.
getAllowedOrigins in interface FunctionUrlCorsOptionspublic final List<String> getExposedHeaders()
FunctionUrlCorsOptionsDefault: - No headers exposed.
getExposedHeaders in interface FunctionUrlCorsOptionspublic final Duration getMaxAge()
FunctionUrlCorsOptionsDefault: - Browser default of 5 seconds.
getMaxAge in interface FunctionUrlCorsOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.