Class ResponseHeadersCorsBehavior.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.ResponseHeadersCorsBehavior.Jsii$Proxy
- All Implemented Interfaces:
ResponseHeadersCorsBehavior
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ResponseHeadersCorsBehavior
@Stability(Stable)
@Internal
public static final class ResponseHeadersCorsBehavior.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements ResponseHeadersCorsBehavior
An implementation for
ResponseHeadersCorsBehavior
-
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.ResponseHeadersCorsBehavior
ResponseHeadersCorsBehavior.Builder, ResponseHeadersCorsBehavior.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theResponseHeadersCorsBehavior.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
A Boolean that CloudFront uses as the value for the Access-Control-Allow-Credentials HTTP response header.A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-Headers HTTP response header.final Duration
A number that CloudFront uses as the value for the Access-Control-Max-Age HTTP response header.final Boolean
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 theResponseHeadersCorsBehavior.Builder
.
-
-
Method Details
-
getAccessControlAllowCredentials
Description copied from interface:ResponseHeadersCorsBehavior
A Boolean that CloudFront uses as the value for the Access-Control-Allow-Credentials HTTP response header.- Specified by:
getAccessControlAllowCredentials
in interfaceResponseHeadersCorsBehavior
-
getAccessControlAllowHeaders
Description copied from interface:ResponseHeadersCorsBehavior
A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.You can specify
['*']
to allow all headers.- Specified by:
getAccessControlAllowHeaders
in interfaceResponseHeadersCorsBehavior
-
getAccessControlAllowMethods
Description copied from interface:ResponseHeadersCorsBehavior
A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.- Specified by:
getAccessControlAllowMethods
in interfaceResponseHeadersCorsBehavior
-
getAccessControlAllowOrigins
Description copied from interface:ResponseHeadersCorsBehavior
A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.You can specify
['*']
to allow all origins.- Specified by:
getAccessControlAllowOrigins
in interfaceResponseHeadersCorsBehavior
-
getOriginOverride
Description copied from interface:ResponseHeadersCorsBehavior
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 interfaceResponseHeadersCorsBehavior
-
getAccessControlExposeHeaders
Description copied from interface:ResponseHeadersCorsBehavior
A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-Headers HTTP response header.You can specify
['*']
to expose all headers.Default: - no headers exposed
- Specified by:
getAccessControlExposeHeaders
in interfaceResponseHeadersCorsBehavior
-
getAccessControlMaxAge
Description copied from interface:ResponseHeadersCorsBehavior
A number that CloudFront uses as the value for the Access-Control-Max-Age HTTP response header.Default: - no max age
- Specified by:
getAccessControlMaxAge
in interfaceResponseHeadersCorsBehavior
-
$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()
-