@Stability(value=Stable) @Internal public static final class CfnUrl.CorsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnUrl.CorsProperty
CfnUrl.CorsPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnUrl.CorsProperty.Builder, CfnUrl.CorsProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnUrl.CorsProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnUrl.CorsProperty.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) |
Object |
getAllowCredentials()
Whether you want to allow cookies or other credentials in requests to your function URL.
|
List<String> |
getAllowHeaders()
The HTTP headers that origins can include in requests to your function URL.
|
List<String> |
getAllowMethods()
The HTTP methods that are allowed when calling your function URL.
|
List<String> |
getAllowOrigins()
The origins that can access your function URL.
|
List<String> |
getExposeHeaders()
The HTTP headers in your function response that you want to expose to origins that call your function URL.
|
Number |
getMaxAge()
The maximum amount of time, in seconds, that browsers can cache results of a preflight request.
|
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(CfnUrl.CorsProperty.Builder builder)
CfnUrl.CorsProperty.Builder.public final Object getAllowCredentials()
CfnUrl.CorsProperty
The default is false .
getAllowCredentials in interface CfnUrl.CorsPropertypublic final List<String> getAllowHeaders()
CfnUrl.CorsProperty
For example: Date , Keep-Alive , X-Custom-Header .
getAllowHeaders in interface CfnUrl.CorsPropertypublic final List<String> getAllowMethods()
CfnUrl.CorsProperty
For example: GET , POST , DELETE , or the wildcard character ( * ).
getAllowMethods in interface CfnUrl.CorsPropertypublic final List<String> getAllowOrigins()
CfnUrl.CorsProperty
You can list any number of specific origins, separated by a comma. For example: https://www.example.com , http://localhost:60905 .
Alternatively, you can grant access to all origins with the wildcard character ( * ).
getAllowOrigins in interface CfnUrl.CorsPropertypublic final List<String> getExposeHeaders()
CfnUrl.CorsProperty
For example: Date , Keep-Alive , X-Custom-Header .
getExposeHeaders in interface CfnUrl.CorsPropertypublic final Number getMaxAge()
CfnUrl.CorsProperty
By default, this is set to 0 , which means the browser will not cache results.
getMaxAge in interface CfnUrl.CorsProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2023. All rights reserved.