@Stability(value=Stable) @Internal public static final class ResponseHeadersCorsBehavior.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResponseHeadersCorsBehavior
ResponseHeadersCorsBehaviorsoftware.amazon.jsii.JsiiObject.InitializationModeResponseHeadersCorsBehavior.Builder, ResponseHeadersCorsBehavior.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(ResponseHeadersCorsBehavior.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ResponseHeadersCorsBehavior.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getAccessControlAllowCredentials()
A Boolean that CloudFront uses as the value for the Access-Control-Allow-Credentials HTTP response header.
|
List<String> |
getAccessControlAllowHeaders()
A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.
|
List<String> |
getAccessControlAllowMethods()
A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.
|
List<String> |
getAccessControlAllowOrigins()
A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.
|
List<String> |
getAccessControlExposeHeaders()
A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-Headers HTTP response header.
|
Duration |
getAccessControlMaxAge()
A number that CloudFront uses as the value for the Access-Control-Max-Age HTTP response header.
|
Boolean |
getOriginOverride()
A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(ResponseHeadersCorsBehavior.Builder builder)
ResponseHeadersCorsBehavior.Builder.public final Boolean getAccessControlAllowCredentials()
ResponseHeadersCorsBehaviorgetAccessControlAllowCredentials in interface ResponseHeadersCorsBehaviorpublic final List<String> getAccessControlAllowHeaders()
ResponseHeadersCorsBehavior
You can specify ['*'] to allow all headers.
getAccessControlAllowHeaders in interface ResponseHeadersCorsBehaviorpublic final List<String> getAccessControlAllowMethods()
ResponseHeadersCorsBehaviorgetAccessControlAllowMethods in interface ResponseHeadersCorsBehaviorpublic final List<String> getAccessControlAllowOrigins()
ResponseHeadersCorsBehavior
You can specify ['*'] to allow all origins.
getAccessControlAllowOrigins in interface ResponseHeadersCorsBehaviorpublic final Boolean getOriginOverride()
ResponseHeadersCorsBehaviorgetOriginOverride in interface ResponseHeadersCorsBehaviorpublic final List<String> getAccessControlExposeHeaders()
ResponseHeadersCorsBehavior
You can specify ['*'] to expose all headers.
Default: - no headers exposed
getAccessControlExposeHeaders in interface ResponseHeadersCorsBehaviorpublic final Duration getAccessControlMaxAge()
ResponseHeadersCorsBehaviorDefault: - no max age
getAccessControlMaxAge in interface ResponseHeadersCorsBehavior@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.