Class CfnResponseHeadersPolicy.CorsConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnResponseHeadersPolicy.CorsConfigProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnResponseHeadersPolicy.CorsConfigProperty
CfnResponseHeadersPolicy.CorsConfigProperty
-
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.cloudfront.CfnResponseHeadersPolicy.CorsConfigProperty
CfnResponseHeadersPolicy.CorsConfigProperty.Builder, CfnResponseHeadersPolicy.CorsConfigProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnResponseHeadersPolicy.CorsConfigProperty.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
A Boolean that CloudFront uses as the value for theAccess-Control-Allow-Credentials
HTTP response header.final Object
A list of HTTP header names that CloudFront includes as values for theAccess-Control-Allow-Headers
HTTP response header.final Object
A list of HTTP methods that CloudFront includes as values for theAccess-Control-Allow-Methods
HTTP response header.final Object
A list of origins (domain names) that CloudFront can use as the value for theAccess-Control-Allow-Origin
HTTP response header.final Object
A list of HTTP headers that CloudFront includes as values for theAccess-Control-Expose-Headers
HTTP response header.final Number
A number that CloudFront uses as the value for theAccess-Control-Max-Age
HTTP response header.final Object
A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.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 theCfnResponseHeadersPolicy.CorsConfigProperty.Builder
.
-
-
Method Details
-
getAccessControlAllowCredentials
Description copied from interface:CfnResponseHeadersPolicy.CorsConfigProperty
A Boolean that CloudFront uses as the value for theAccess-Control-Allow-Credentials
HTTP response header.For more information about the
Access-Control-Allow-Credentials
HTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.- Specified by:
getAccessControlAllowCredentials
in interfaceCfnResponseHeadersPolicy.CorsConfigProperty
-
getAccessControlAllowHeaders
Description copied from interface:CfnResponseHeadersPolicy.CorsConfigProperty
A list of HTTP header names that CloudFront includes as values for theAccess-Control-Allow-Headers
HTTP response header.For more information about the
Access-Control-Allow-Headers
HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.- Specified by:
getAccessControlAllowHeaders
in interfaceCfnResponseHeadersPolicy.CorsConfigProperty
-
getAccessControlAllowMethods
Description copied from interface:CfnResponseHeadersPolicy.CorsConfigProperty
A list of HTTP methods that CloudFront includes as values for theAccess-Control-Allow-Methods
HTTP response header.For more information about the
Access-Control-Allow-Methods
HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.- Specified by:
getAccessControlAllowMethods
in interfaceCfnResponseHeadersPolicy.CorsConfigProperty
-
getAccessControlAllowOrigins
Description copied from interface:CfnResponseHeadersPolicy.CorsConfigProperty
A list of origins (domain names) that CloudFront can use as the value for theAccess-Control-Allow-Origin
HTTP response header.For more information about the
Access-Control-Allow-Origin
HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.- Specified by:
getAccessControlAllowOrigins
in interfaceCfnResponseHeadersPolicy.CorsConfigProperty
-
getOriginOverride
Description copied from interface:CfnResponseHeadersPolicy.CorsConfigProperty
A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.- Specified by:
getOriginOverride
in interfaceCfnResponseHeadersPolicy.CorsConfigProperty
-
getAccessControlExposeHeaders
Description copied from interface:CfnResponseHeadersPolicy.CorsConfigProperty
A list of HTTP headers that CloudFront includes as values for theAccess-Control-Expose-Headers
HTTP response header.For more information about the
Access-Control-Expose-Headers
HTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.- Specified by:
getAccessControlExposeHeaders
in interfaceCfnResponseHeadersPolicy.CorsConfigProperty
-
getAccessControlMaxAgeSec
Description copied from interface:CfnResponseHeadersPolicy.CorsConfigProperty
A number that CloudFront uses as the value for theAccess-Control-Max-Age
HTTP response header.For more information about the
Access-Control-Max-Age
HTTP response header, see Access-Control-Max-Age in the MDN Web Docs.- Specified by:
getAccessControlMaxAgeSec
in interfaceCfnResponseHeadersPolicy.CorsConfigProperty
-
$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()
-