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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.FunctionUrlCorsOptions
FunctionUrlCorsOptions.Builder, FunctionUrlCorsOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(FunctionUrlCorsOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theFunctionUrlCorsOptions.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 BooleanWhether 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 DurationThe time in seconds that your browser is to cache the preflight response for the specified resource.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 theFunctionUrlCorsOptions.Builder.
-
-
Method Details
-
getAllowCredentials
Description copied from interface:FunctionUrlCorsOptionsWhether to allow cookies or other credentials in requests to your function URL.Default: false
- Specified by:
getAllowCredentialsin interfaceFunctionUrlCorsOptions
-
getAllowedHeaders
Description copied from interface:FunctionUrlCorsOptionsHeaders that are specified in the Access-Control-Request-Headers header.Default: - No headers allowed.
- Specified by:
getAllowedHeadersin interfaceFunctionUrlCorsOptions
-
getAllowedMethods
Description copied from interface:FunctionUrlCorsOptionsAn HTTP method that you allow the origin to execute.Default: - [HttpMethod.ALL]
- Specified by:
getAllowedMethodsin interfaceFunctionUrlCorsOptions
-
getAllowedOrigins
Description copied from interface:FunctionUrlCorsOptionsOne or more origins you want customers to be able to access the bucket from.Default: - No origins allowed.
- Specified by:
getAllowedOriginsin interfaceFunctionUrlCorsOptions
-
getExposedHeaders
Description copied from interface:FunctionUrlCorsOptionsOne or more headers in the response that you want customers to be able to access from their applications.Default: - No headers exposed.
- Specified by:
getExposedHeadersin interfaceFunctionUrlCorsOptions
-
getMaxAge
Description copied from interface:FunctionUrlCorsOptionsThe time in seconds that your browser is to cache the preflight response for the specified resource.Default: - Browser default of 5 seconds.
- Specified by:
getMaxAgein interfaceFunctionUrlCorsOptions
-
$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()
-