public static final class ResponseSecurityHeadersBehavior.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResponseSecurityHeadersBehavior
ResponseSecurityHeadersBehavior
ResponseSecurityHeadersBehavior.Builder, ResponseSecurityHeadersBehavior.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) |
ResponseHeadersContentSecurityPolicy |
getContentSecurityPolicy()
The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.
|
ResponseHeadersContentTypeOptions |
getContentTypeOptions()
Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.
|
ResponseHeadersFrameOptions |
getFrameOptions()
Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value.
|
ResponseHeadersReferrerPolicy |
getReferrerPolicy()
Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header’s value.
|
ResponseHeadersStrictTransportSecurity |
getStrictTransportSecurity()
Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value.
|
ResponseHeadersXSSProtection |
getXssProtection()
Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header’s value.
|
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 ResponseHeadersContentSecurityPolicy getContentSecurityPolicy()
ResponseSecurityHeadersBehavior
Default: - no content security policy
getContentSecurityPolicy
in interface ResponseSecurityHeadersBehavior
public final ResponseHeadersContentTypeOptions getContentTypeOptions()
ResponseSecurityHeadersBehavior
Default: - no content type options
getContentTypeOptions
in interface ResponseSecurityHeadersBehavior
public final ResponseHeadersFrameOptions getFrameOptions()
ResponseSecurityHeadersBehavior
Default: - no frame options
getFrameOptions
in interface ResponseSecurityHeadersBehavior
public final ResponseHeadersReferrerPolicy getReferrerPolicy()
ResponseSecurityHeadersBehavior
Default: - no referrer policy
getReferrerPolicy
in interface ResponseSecurityHeadersBehavior
public final ResponseHeadersStrictTransportSecurity getStrictTransportSecurity()
ResponseSecurityHeadersBehavior
Default: - no strict transport security
getStrictTransportSecurity
in interface ResponseSecurityHeadersBehavior
public final ResponseHeadersXSSProtection getXssProtection()
ResponseSecurityHeadersBehavior
Default: - no xss protection
getXssProtection
in interface ResponseSecurityHeadersBehavior
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()