| Package | Description |
|---|---|
| software.amazon.awssdk.services.cloudfront.model |
| Modifier and Type | Method and Description |
|---|---|
static ResponseHeadersPolicySecurityHeadersConfig.Builder |
ResponseHeadersPolicySecurityHeadersConfig.builder() |
default ResponseHeadersPolicySecurityHeadersConfig.Builder |
ResponseHeadersPolicySecurityHeadersConfig.Builder.contentSecurityPolicy(Consumer<ResponseHeadersPolicyContentSecurityPolicy.Builder> contentSecurityPolicy)
The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy HTTP response header. |
ResponseHeadersPolicySecurityHeadersConfig.Builder |
ResponseHeadersPolicySecurityHeadersConfig.Builder.contentSecurityPolicy(ResponseHeadersPolicyContentSecurityPolicy contentSecurityPolicy)
The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy HTTP response header. |
default ResponseHeadersPolicySecurityHeadersConfig.Builder |
ResponseHeadersPolicySecurityHeadersConfig.Builder.contentTypeOptions(Consumer<ResponseHeadersPolicyContentTypeOptions.Builder> contentTypeOptions)
Determines whether CloudFront includes the
X-Content-Type-Options HTTP response header with its
value set to nosniff. |
ResponseHeadersPolicySecurityHeadersConfig.Builder |
ResponseHeadersPolicySecurityHeadersConfig.Builder.contentTypeOptions(ResponseHeadersPolicyContentTypeOptions contentTypeOptions)
Determines whether CloudFront includes the
X-Content-Type-Options HTTP response header with its
value set to nosniff. |
default ResponseHeadersPolicySecurityHeadersConfig.Builder |
ResponseHeadersPolicySecurityHeadersConfig.Builder.frameOptions(Consumer<ResponseHeadersPolicyFrameOptions.Builder> frameOptions)
Determines whether CloudFront includes the
X-Frame-Options HTTP response header and the header's
value. |
ResponseHeadersPolicySecurityHeadersConfig.Builder |
ResponseHeadersPolicySecurityHeadersConfig.Builder.frameOptions(ResponseHeadersPolicyFrameOptions frameOptions)
Determines whether CloudFront includes the
X-Frame-Options HTTP response header and the header's
value. |
default ResponseHeadersPolicySecurityHeadersConfig.Builder |
ResponseHeadersPolicySecurityHeadersConfig.Builder.referrerPolicy(Consumer<ResponseHeadersPolicyReferrerPolicy.Builder> referrerPolicy)
Determines whether CloudFront includes the
Referrer-Policy HTTP response header and the header's
value. |
ResponseHeadersPolicySecurityHeadersConfig.Builder |
ResponseHeadersPolicySecurityHeadersConfig.Builder.referrerPolicy(ResponseHeadersPolicyReferrerPolicy referrerPolicy)
Determines whether CloudFront includes the
Referrer-Policy HTTP response header and the header's
value. |
default ResponseHeadersPolicySecurityHeadersConfig.Builder |
ResponseHeadersPolicySecurityHeadersConfig.Builder.strictTransportSecurity(Consumer<ResponseHeadersPolicyStrictTransportSecurity.Builder> strictTransportSecurity)
Determines whether CloudFront includes the
Strict-Transport-Security HTTP response header and
the header's value. |
ResponseHeadersPolicySecurityHeadersConfig.Builder |
ResponseHeadersPolicySecurityHeadersConfig.Builder.strictTransportSecurity(ResponseHeadersPolicyStrictTransportSecurity strictTransportSecurity)
Determines whether CloudFront includes the
Strict-Transport-Security HTTP response header and
the header's value. |
ResponseHeadersPolicySecurityHeadersConfig.Builder |
ResponseHeadersPolicySecurityHeadersConfig.toBuilder() |
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. |
ResponseHeadersPolicySecurityHeadersConfig.Builder |
ResponseHeadersPolicySecurityHeadersConfig.Builder.xssProtection(ResponseHeadersPolicyXSSProtection xssProtection)
Determines whether CloudFront includes the
X-XSS-Protection HTTP response header and the
header's value. |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends ResponseHeadersPolicySecurityHeadersConfig.Builder> |
ResponseHeadersPolicySecurityHeadersConfig.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default ResponseHeadersPolicyConfig.Builder |
ResponseHeadersPolicyConfig.Builder.securityHeadersConfig(Consumer<ResponseHeadersPolicySecurityHeadersConfig.Builder> securityHeadersConfig)
A configuration for a set of security-related HTTP response headers.
|
Copyright © 2023. All rights reserved.