Class FunctionUrlCorsOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.FunctionUrlCorsOptions.Jsii$Proxy
- All Implemented Interfaces:
FunctionUrlCorsOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
FunctionUrlCorsOptions
@Stability(Stable)
@Internal
public static final class FunctionUrlCorsOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements FunctionUrlCorsOptions
An implementation for
FunctionUrlCorsOptions
-
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.FunctionUrlCorsOptions
FunctionUrlCorsOptions.Builder, FunctionUrlCorsOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(FunctionUrlCorsOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theFunctionUrlCorsOptions.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 Boolean
Whether to allow cookies or other credentials in requests to your function URL.Headers that are specified in the Access-Control-Request-Headers header.final List<HttpMethod>
An HTTP method that you allow the origin to execute.One or more origins you want customers to be able to access the bucket from.One or more headers in the response that you want customers to be able to access from their applications.final Duration
The time in seconds that your browser is to cache the preflight response for the specified resource.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 theFunctionUrlCorsOptions.Builder
.
-
-
Method Details
-
getAllowCredentials
Description copied from interface:FunctionUrlCorsOptions
Whether to allow cookies or other credentials in requests to your function URL.Default: false
- Specified by:
getAllowCredentials
in interfaceFunctionUrlCorsOptions
-
getAllowedHeaders
Description copied from interface:FunctionUrlCorsOptions
Headers that are specified in the Access-Control-Request-Headers header.Default: - No headers allowed.
- Specified by:
getAllowedHeaders
in interfaceFunctionUrlCorsOptions
-
getAllowedMethods
Description copied from interface:FunctionUrlCorsOptions
An HTTP method that you allow the origin to execute.Default: - [HttpMethod.ALL]
- Specified by:
getAllowedMethods
in interfaceFunctionUrlCorsOptions
-
getAllowedOrigins
Description copied from interface:FunctionUrlCorsOptions
One or more origins you want customers to be able to access the bucket from.Default: - No origins allowed.
- Specified by:
getAllowedOrigins
in interfaceFunctionUrlCorsOptions
-
getExposedHeaders
Description copied from interface:FunctionUrlCorsOptions
One or more headers in the response that you want customers to be able to access from their applications.Default: - No headers exposed.
- Specified by:
getExposedHeaders
in interfaceFunctionUrlCorsOptions
-
getMaxAge
Description copied from interface:FunctionUrlCorsOptions
The time in seconds that your browser is to cache the preflight response for the specified resource.Default: - Browser default of 5 seconds.
- Specified by:
getMaxAge
in interfaceFunctionUrlCorsOptions
-
$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()
-