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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.ResponseHeadersCorsBehavior
ResponseHeadersCorsBehavior.Builder, ResponseHeadersCorsBehavior.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theResponseHeadersCorsBehavior.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 BooleanA 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 DurationA number that CloudFront uses as the value for the Access-Control-Max-Age HTTP response header.final BooleanA Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.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 theResponseHeadersCorsBehavior.Builder.
-
-
Method Details
-
getAccessControlAllowCredentials
Description copied from interface:ResponseHeadersCorsBehaviorA Boolean that CloudFront uses as the value for the Access-Control-Allow-Credentials HTTP response header.- Specified by:
getAccessControlAllowCredentialsin interfaceResponseHeadersCorsBehavior
-
getAccessControlAllowHeaders
Description copied from interface:ResponseHeadersCorsBehaviorA 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:
getAccessControlAllowHeadersin interfaceResponseHeadersCorsBehavior
-
getAccessControlAllowMethods
Description copied from interface:ResponseHeadersCorsBehaviorA list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.Allowed methods:
'GET','DELETE','HEAD','OPTIONS','PATCH','POST', and'PUT'. You can specify['ALL']to allow all methods.- Specified by:
getAccessControlAllowMethodsin interfaceResponseHeadersCorsBehavior
-
getAccessControlAllowOrigins
Description copied from interface:ResponseHeadersCorsBehaviorA 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:
getAccessControlAllowOriginsin interfaceResponseHeadersCorsBehavior
-
getOriginOverride
Description copied from interface:ResponseHeadersCorsBehaviorA Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.- Specified by:
getOriginOverridein interfaceResponseHeadersCorsBehavior
-
getAccessControlExposeHeaders
Description copied from interface:ResponseHeadersCorsBehaviorA 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:
getAccessControlExposeHeadersin interfaceResponseHeadersCorsBehavior
-
getAccessControlMaxAge
Description copied from interface:ResponseHeadersCorsBehaviorA number that CloudFront uses as the value for the Access-Control-Max-Age HTTP response header.Default: - no max age
- Specified by:
getAccessControlMaxAgein interfaceResponseHeadersCorsBehavior
-
$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()
-