@Stability(value=Stable) @Internal public static final class CfnResponseHeadersPolicy.CorsConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnResponseHeadersPolicy.CorsConfigProperty
CfnResponseHeadersPolicy.CorsConfigPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnResponseHeadersPolicy.CorsConfigProperty.Builder, CfnResponseHeadersPolicy.CorsConfigProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnResponseHeadersPolicy.CorsConfigProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getAccessControlAllowCredentials()
A Boolean that CloudFront uses as the value for the `Access-Control-Allow-Credentials` HTTP response header.
|
Object |
getAccessControlAllowHeaders()
A list of HTTP header names that CloudFront includes as values for the `Access-Control-Allow-Headers` HTTP response header.
|
Object |
getAccessControlAllowMethods()
A list of HTTP methods that CloudFront includes as values for the `Access-Control-Allow-Methods` HTTP response header.
|
Object |
getAccessControlAllowOrigins()
A list of origins (domain names) that CloudFront can use as the value for the `Access-Control-Allow-Origin` HTTP response header.
|
Object |
getAccessControlExposeHeaders()
A list of HTTP headers that CloudFront includes as values for the `Access-Control-Expose-Headers` HTTP response header.
|
Number |
getAccessControlMaxAgeSec()
A number that CloudFront uses as the value for the `Access-Control-Max-Age` HTTP response header.
|
Object |
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(CfnResponseHeadersPolicy.CorsConfigProperty.Builder builder)
CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty.Builder.public final Object getAccessControlAllowCredentials()
CfnResponseHeadersPolicy.CorsConfigProperty
For more information about the Access-Control-Allow-Credentials HTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.
getAccessControlAllowCredentials in interface CfnResponseHeadersPolicy.CorsConfigPropertypublic final Object getAccessControlAllowHeaders()
CfnResponseHeadersPolicy.CorsConfigProperty
For more information about the Access-Control-Allow-Headers HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.
getAccessControlAllowHeaders in interface CfnResponseHeadersPolicy.CorsConfigPropertypublic final Object getAccessControlAllowMethods()
CfnResponseHeadersPolicy.CorsConfigProperty
For more information about the Access-Control-Allow-Methods HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.
getAccessControlAllowMethods in interface CfnResponseHeadersPolicy.CorsConfigPropertypublic final Object getAccessControlAllowOrigins()
CfnResponseHeadersPolicy.CorsConfigProperty
For more information about the Access-Control-Allow-Origin HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.
getAccessControlAllowOrigins in interface CfnResponseHeadersPolicy.CorsConfigPropertypublic final Object getOriginOverride()
CfnResponseHeadersPolicy.CorsConfigPropertygetOriginOverride in interface CfnResponseHeadersPolicy.CorsConfigPropertypublic final Object getAccessControlExposeHeaders()
CfnResponseHeadersPolicy.CorsConfigProperty
For more information about the Access-Control-Expose-Headers HTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.
getAccessControlExposeHeaders in interface CfnResponseHeadersPolicy.CorsConfigPropertypublic final Number getAccessControlMaxAgeSec()
CfnResponseHeadersPolicy.CorsConfigProperty
For more information about the Access-Control-Max-Age HTTP response header, see Access-Control-Max-Age in the MDN Web Docs.
getAccessControlMaxAgeSec in interface CfnResponseHeadersPolicy.CorsConfigProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.