| Package | Description |
|---|---|
| com.amazonaws.services.cloudfront.model |
| Modifier and Type | Method and Description |
|---|---|
ResponseHeadersPolicyXSSProtection |
ResponseHeadersPolicyXSSProtection.clone() |
ResponseHeadersPolicyXSSProtection |
ResponseHeadersPolicySecurityHeadersConfig.getXSSProtection()
Determines whether CloudFront includes the
X-XSS-Protection HTTP response header and the header's
value. |
ResponseHeadersPolicyXSSProtection |
ResponseHeadersPolicyXSSProtection.withModeBlock(Boolean modeBlock)
A Boolean that determines whether CloudFront includes the
mode=block directive in the
X-XSS-Protection header. |
ResponseHeadersPolicyXSSProtection |
ResponseHeadersPolicyXSSProtection.withOverride(Boolean override)
A Boolean that determines whether CloudFront overrides the
X-XSS-Protection HTTP response header
received from the origin with the one specified in this response headers policy. |
ResponseHeadersPolicyXSSProtection |
ResponseHeadersPolicyXSSProtection.withProtection(Boolean protection)
A Boolean that determines the value of the
X-XSS-Protection HTTP response header. |
ResponseHeadersPolicyXSSProtection |
ResponseHeadersPolicyXSSProtection.withReportUri(String reportUri)
A reporting URI, which CloudFront uses as the value of the
report directive in the
X-XSS-Protection header. |
| Modifier and Type | Method and Description |
|---|---|
void |
ResponseHeadersPolicySecurityHeadersConfig.setXSSProtection(ResponseHeadersPolicyXSSProtection xSSProtection)
Determines whether CloudFront includes the
X-XSS-Protection HTTP response header and the header's
value. |
ResponseHeadersPolicySecurityHeadersConfig |
ResponseHeadersPolicySecurityHeadersConfig.withXSSProtection(ResponseHeadersPolicyXSSProtection xSSProtection)
Determines whether CloudFront includes the
X-XSS-Protection HTTP response header and the header's
value. |
Copyright © 2022. All rights reserved.