Class CfnUrl.CorsProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.CfnUrl.CorsProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnUrl.CorsProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnUrl.CorsProperty
@Stability(Stable)
@Internal
public static final class CfnUrl.CorsProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnUrl.CorsProperty
An implementation for
CfnUrl.CorsProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.CfnUrl.CorsProperty
CfnUrl.CorsProperty.Builder, CfnUrl.CorsProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnUrl.CorsProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnUrl.CorsProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectWhether you want to allow cookies or other credentials in requests to your function URL.The HTTP headers that origins can include in requests to your function URL.The HTTP methods that are allowed when calling your function URL.The origins that can access your function URL.The HTTP headers in your function response that you want to expose to origins that call your function URL.final NumberThe maximum amount of time, in seconds, that browsers can cache results of a preflight request.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnUrl.CorsProperty.Builder.
-
-
Method Details
-
getAllowCredentials
Description copied from interface:CfnUrl.CorsPropertyWhether you want to allow cookies or other credentials in requests to your function URL.The default is
false.- Specified by:
getAllowCredentialsin interfaceCfnUrl.CorsProperty
-
getAllowHeaders
Description copied from interface:CfnUrl.CorsPropertyThe HTTP headers that origins can include in requests to your function URL.For example:
Date,Keep-Alive,X-Custom-Header.- Specified by:
getAllowHeadersin interfaceCfnUrl.CorsProperty
-
getAllowMethods
Description copied from interface:CfnUrl.CorsPropertyThe HTTP methods that are allowed when calling your function URL.For example:
GET,POST,DELETE, or the wildcard character (*).- Specified by:
getAllowMethodsin interfaceCfnUrl.CorsProperty
-
getAllowOrigins
Description copied from interface:CfnUrl.CorsPropertyThe origins that can access your function URL.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 (
*).- Specified by:
getAllowOriginsin interfaceCfnUrl.CorsProperty
-
getExposeHeaders
Description copied from interface:CfnUrl.CorsPropertyThe HTTP headers in your function response that you want to expose to origins that call your function URL.For example:
Date,Keep-Alive,X-Custom-Header.- Specified by:
getExposeHeadersin interfaceCfnUrl.CorsProperty
-
getMaxAge
Description copied from interface:CfnUrl.CorsPropertyThe maximum amount of time, in seconds, that browsers can cache results of a preflight request.By default, this is set to
0, which means the browser will not cache results.- Specified by:
getMaxAgein interfaceCfnUrl.CorsProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-