| Package | Description |
|---|---|
| software.amazon.awssdk.services.cloudfront.model |
| Modifier and Type | Method and Description |
|---|---|
static ResponseHeadersPolicyXSSProtection.Builder |
ResponseHeadersPolicyXSSProtection.builder() |
ResponseHeadersPolicyXSSProtection.Builder |
ResponseHeadersPolicyXSSProtection.Builder.modeBlock(Boolean modeBlock)
A Boolean that determines whether CloudFront includes the
mode=block directive in the
X-XSS-Protection header. |
ResponseHeadersPolicyXSSProtection.Builder |
ResponseHeadersPolicyXSSProtection.Builder.override(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.Builder |
ResponseHeadersPolicyXSSProtection.Builder.protection(Boolean protection)
A Boolean that determines the value of the
X-XSS-Protection HTTP response header. |
ResponseHeadersPolicyXSSProtection.Builder |
ResponseHeadersPolicyXSSProtection.Builder.reportUri(String reportUri)
A reporting URI, which CloudFront uses as the value of the
report directive in the
X-XSS-Protection header. |
ResponseHeadersPolicyXSSProtection.Builder |
ResponseHeadersPolicyXSSProtection.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends ResponseHeadersPolicyXSSProtection.Builder> |
ResponseHeadersPolicyXSSProtection.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default ResponseHeadersPolicySecurityHeadersConfig.Builder |
ResponseHeadersPolicySecurityHeadersConfig.Builder.xssProtection(Consumer<ResponseHeadersPolicyXSSProtection.Builder> xssProtection)
Determines whether CloudFront includes the
X-XSS-Protection HTTP response header and the
header's value. |
Copyright © 2023. All rights reserved.