public static final class FunctionUrlCorsOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FunctionUrlCorsOptions
FunctionUrlCorsOptions
FunctionUrlCorsOptions.Builder, FunctionUrlCorsOptions.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.Boolean |
getAllowCredentials()
Whether to allow cookies or other credentials in requests to your function URL.
|
java.util.List<java.lang.String> |
getAllowedHeaders()
Headers that are specified in the Access-Control-Request-Headers header.
|
java.util.List<HttpMethod> |
getAllowedMethods()
An HTTP method that you allow the origin to execute.
|
java.util.List<java.lang.String> |
getAllowedOrigins()
One or more origins you want customers to be able to access the bucket from.
|
java.util.List<java.lang.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() |
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.public final java.lang.Boolean getAllowCredentials()
FunctionUrlCorsOptions
Default: false
getAllowCredentials
in interface FunctionUrlCorsOptions
public final java.util.List<java.lang.String> getAllowedHeaders()
FunctionUrlCorsOptions
Default: - No headers allowed.
getAllowedHeaders
in interface FunctionUrlCorsOptions
public final java.util.List<HttpMethod> getAllowedMethods()
FunctionUrlCorsOptions
Default: - [HttpMethod.ALL]
getAllowedMethods
in interface FunctionUrlCorsOptions
public final java.util.List<java.lang.String> getAllowedOrigins()
FunctionUrlCorsOptions
Default: - No origins allowed.
getAllowedOrigins
in interface FunctionUrlCorsOptions
public final java.util.List<java.lang.String> getExposedHeaders()
FunctionUrlCorsOptions
Default: - No headers exposed.
getExposedHeaders
in interface FunctionUrlCorsOptions
public final Duration getMaxAge()
FunctionUrlCorsOptions
Default: - Browser default of 5 seconds.
getMaxAge
in interface FunctionUrlCorsOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()