@Stability(value=Stable) public static final class ResponseSecurityHeadersBehavior.Builder extends Object implements software.amazon.jsii.Builder<ResponseSecurityHeadersBehavior>
ResponseSecurityHeadersBehavior| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public ResponseSecurityHeadersBehavior.Builder contentSecurityPolicy(ResponseHeadersContentSecurityPolicy contentSecurityPolicy)
ResponseSecurityHeadersBehavior.getContentSecurityPolicy()contentSecurityPolicy - The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.this@Stability(value=Stable) public ResponseSecurityHeadersBehavior.Builder contentTypeOptions(ResponseHeadersContentTypeOptions contentTypeOptions)
ResponseSecurityHeadersBehavior.getContentTypeOptions()contentTypeOptions - Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.this@Stability(value=Stable) public ResponseSecurityHeadersBehavior.Builder frameOptions(ResponseHeadersFrameOptions frameOptions)
ResponseSecurityHeadersBehavior.getFrameOptions()frameOptions - Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value.this@Stability(value=Stable) public ResponseSecurityHeadersBehavior.Builder referrerPolicy(ResponseHeadersReferrerPolicy referrerPolicy)
ResponseSecurityHeadersBehavior.getReferrerPolicy()referrerPolicy - Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header’s value.this@Stability(value=Stable) public ResponseSecurityHeadersBehavior.Builder strictTransportSecurity(ResponseHeadersStrictTransportSecurity strictTransportSecurity)
ResponseSecurityHeadersBehavior.getStrictTransportSecurity()strictTransportSecurity - Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value.this@Stability(value=Stable) public ResponseSecurityHeadersBehavior.Builder xssProtection(ResponseHeadersXSSProtection xssProtection)
ResponseSecurityHeadersBehavior.getXssProtection()xssProtection - Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header’s value.this@Stability(value=Stable) public ResponseSecurityHeadersBehavior build()
build in interface software.amazon.jsii.Builder<ResponseSecurityHeadersBehavior>ResponseSecurityHeadersBehaviorNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.