Class CfnUrl.CorsProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnUrl.CorsProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnUrl.CorsProperty
CfnUrl.CorsProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.CfnUrl.CorsProperty
CfnUrl.CorsProperty.Builder, CfnUrl.CorsProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CfnUrl.CorsProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnUrl.CorsProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final Object
Whether 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 Number
The maximum amount of time, in seconds, that browsers can cache results of a preflight request.final int
hashCode()
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.CorsProperty
Whether you want to allow cookies or other credentials in requests to your function URL.The default is
false
.- Specified by:
getAllowCredentials
in interfaceCfnUrl.CorsProperty
- See Also:
-
getAllowHeaders
Description copied from interface:CfnUrl.CorsProperty
The HTTP headers that origins can include in requests to your function URL.For example:
Date
,Keep-Alive
,X-Custom-Header
.- Specified by:
getAllowHeaders
in interfaceCfnUrl.CorsProperty
- See Also:
-
getAllowMethods
Description copied from interface:CfnUrl.CorsProperty
The HTTP methods that are allowed when calling your function URL.For example:
GET
,POST
,DELETE
, or the wildcard character (*
).- Specified by:
getAllowMethods
in interfaceCfnUrl.CorsProperty
- See Also:
-
getAllowOrigins
Description copied from interface:CfnUrl.CorsProperty
The 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:
getAllowOrigins
in interfaceCfnUrl.CorsProperty
- See Also:
-
getExposeHeaders
Description copied from interface:CfnUrl.CorsProperty
The 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:
getExposeHeaders
in interfaceCfnUrl.CorsProperty
- See Also:
-
getMaxAge
Description copied from interface:CfnUrl.CorsProperty
The 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:
getMaxAge
in interfaceCfnUrl.CorsProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-