public static final class CfnResponseHeadersPolicy.CorsConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnResponseHeadersPolicy.CorsConfigProperty
CfnResponseHeadersPolicy.CorsConfigProperty
CfnResponseHeadersPolicy.CorsConfigProperty.Builder, CfnResponseHeadersPolicy.CorsConfigProperty.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getAccessControlAllowCredentials()
A Boolean that CloudFront uses as the value for the `Access-Control-Allow-Credentials` HTTP response header.
|
java.lang.Object |
getAccessControlAllowHeaders()
A list of HTTP header names that CloudFront includes as values for the `Access-Control-Allow-Headers` HTTP response header.
|
java.lang.Object |
getAccessControlAllowMethods()
A list of HTTP methods that CloudFront includes as values for the `Access-Control-Allow-Methods` HTTP response header.
|
java.lang.Object |
getAccessControlAllowOrigins()
A list of origins (domain names) that CloudFront can use as the value for the `Access-Control-Allow-Origin` HTTP response header.
|
java.lang.Object |
getAccessControlExposeHeaders()
A list of HTTP headers that CloudFront includes as values for the `Access-Control-Expose-Headers` HTTP response header.
|
java.lang.Number |
getAccessControlMaxAgeSec()
A number that CloudFront uses as the value for the `Access-Control-Max-Age` HTTP response header.
|
java.lang.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() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.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.CorsConfigProperty
public final java.lang.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.CorsConfigProperty
public final java.lang.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.CorsConfigProperty
public final java.lang.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.CorsConfigProperty
public final java.lang.Object getOriginOverride()
CfnResponseHeadersPolicy.CorsConfigProperty
getOriginOverride
in interface CfnResponseHeadersPolicy.CorsConfigProperty
public final java.lang.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.CorsConfigProperty
public final java.lang.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
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()