Class CfnUrlPropsMixin.CorsProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnUrlPropsMixin.CorsProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnUrlPropsMixin.CorsProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnUrlPropsMixin.CorsProperty
@Stability(Stable)
@Internal
public static final class CfnUrlPropsMixin.CorsProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnUrlPropsMixin.CorsProperty
An implementation for
CfnUrlPropsMixin.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.cfnpropertymixins.services.lambda.CfnUrlPropsMixin.CorsProperty
CfnUrlPropsMixin.CorsProperty.Builder, CfnUrlPropsMixin.CorsProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnUrlPropsMixin.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 theCfnUrlPropsMixin.CorsProperty.Builder.
-
-
Method Details
-
getAllowCredentials
Description copied from interface:CfnUrlPropsMixin.CorsPropertyWhether you want to allow cookies or other credentials in requests to your function URL.The default is
false.Returns union: either
BooleanorIResolvable- Specified by:
getAllowCredentialsin interfaceCfnUrlPropsMixin.CorsProperty- See Also:
-
getAllowHeaders
Description copied from interface:CfnUrlPropsMixin.CorsPropertyThe HTTP headers that origins can include in requests to your function URL.For example:
Date,Keep-Alive,X-Custom-Header.- Specified by:
getAllowHeadersin interfaceCfnUrlPropsMixin.CorsProperty- See Also:
-
getAllowMethods
Description copied from interface:CfnUrlPropsMixin.CorsPropertyThe HTTP methods that are allowed when calling your function URL.For example:
GET,POST,DELETE, or the wildcard character (*).- Specified by:
getAllowMethodsin interfaceCfnUrlPropsMixin.CorsProperty- See Also:
-
getAllowOrigins
Description copied from interface:CfnUrlPropsMixin.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 interfaceCfnUrlPropsMixin.CorsProperty- See Also:
-
getExposeHeaders
Description copied from interface:CfnUrlPropsMixin.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 interfaceCfnUrlPropsMixin.CorsProperty- See Also:
-
getMaxAge
Description copied from interface:CfnUrlPropsMixin.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 interfaceCfnUrlPropsMixin.CorsProperty- See Also:
-
$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()
-