Package com.pulumi.aws.cloudfront.inputs
Class ResponseHeadersPolicySecurityHeadersConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudfront.inputs.ResponseHeadersPolicySecurityHeadersConfigArgs.Builder
-
- Enclosing class:
- ResponseHeadersPolicySecurityHeadersConfigArgs
public static final class ResponseHeadersPolicySecurityHeadersConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ResponseHeadersPolicySecurityHeadersConfigArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ResponseHeadersPolicySecurityHeadersConfigArgs defaults)
-
-
Method Detail
-
contentSecurityPolicy
public ResponseHeadersPolicySecurityHeadersConfigArgs.Builder contentSecurityPolicy(@Nullable com.pulumi.core.Output<ResponseHeadersPolicySecurityHeadersConfigContentSecurityPolicyArgs> contentSecurityPolicy)
- Parameters:
contentSecurityPolicy- The policy directives and their values that CloudFront includes as values for the `Content-Security-Policy` HTTP response header. See Content Security Policy for more information.- Returns:
- builder
-
contentSecurityPolicy
public ResponseHeadersPolicySecurityHeadersConfigArgs.Builder contentSecurityPolicy(ResponseHeadersPolicySecurityHeadersConfigContentSecurityPolicyArgs contentSecurityPolicy)
- Parameters:
contentSecurityPolicy- The policy directives and their values that CloudFront includes as values for the `Content-Security-Policy` HTTP response header. See Content Security Policy for more information.- Returns:
- builder
-
contentTypeOptions
public ResponseHeadersPolicySecurityHeadersConfigArgs.Builder contentTypeOptions(@Nullable com.pulumi.core.Output<ResponseHeadersPolicySecurityHeadersConfigContentTypeOptionsArgs> contentTypeOptions)
- Parameters:
contentTypeOptions- Determines whether CloudFront includes the `X-Content-Type-Options` HTTP response header with its value set to `nosniff`. See Content Type Options for more information.- Returns:
- builder
-
contentTypeOptions
public ResponseHeadersPolicySecurityHeadersConfigArgs.Builder contentTypeOptions(ResponseHeadersPolicySecurityHeadersConfigContentTypeOptionsArgs contentTypeOptions)
- Parameters:
contentTypeOptions- Determines whether CloudFront includes the `X-Content-Type-Options` HTTP response header with its value set to `nosniff`. See Content Type Options for more information.- Returns:
- builder
-
frameOptions
public ResponseHeadersPolicySecurityHeadersConfigArgs.Builder frameOptions(@Nullable com.pulumi.core.Output<ResponseHeadersPolicySecurityHeadersConfigFrameOptionsArgs> frameOptions)
- Parameters:
frameOptions- Determines whether CloudFront includes the `X-Frame-Options` HTTP response header and the header’s value. See Frame Options for more information.- Returns:
- builder
-
frameOptions
public ResponseHeadersPolicySecurityHeadersConfigArgs.Builder frameOptions(ResponseHeadersPolicySecurityHeadersConfigFrameOptionsArgs frameOptions)
- Parameters:
frameOptions- Determines whether CloudFront includes the `X-Frame-Options` HTTP response header and the header’s value. See Frame Options for more information.- Returns:
- builder
-
referrerPolicy
public ResponseHeadersPolicySecurityHeadersConfigArgs.Builder referrerPolicy(@Nullable com.pulumi.core.Output<ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs> referrerPolicy)
- Parameters:
referrerPolicy- Determines whether CloudFront includes the `Referrer-Policy` HTTP response header and the header’s value. See Referrer Policy for more information.- Returns:
- builder
-
referrerPolicy
public ResponseHeadersPolicySecurityHeadersConfigArgs.Builder referrerPolicy(ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs referrerPolicy)
- Parameters:
referrerPolicy- Determines whether CloudFront includes the `Referrer-Policy` HTTP response header and the header’s value. See Referrer Policy for more information.- Returns:
- builder
-
strictTransportSecurity
public ResponseHeadersPolicySecurityHeadersConfigArgs.Builder strictTransportSecurity(@Nullable com.pulumi.core.Output<ResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurityArgs> strictTransportSecurity)
- Parameters:
strictTransportSecurity- Determines whether CloudFront includes the `Strict-Transport-Security` HTTP response header and the header’s value. See Strict Transport Security for more information.- Returns:
- builder
-
strictTransportSecurity
public ResponseHeadersPolicySecurityHeadersConfigArgs.Builder strictTransportSecurity(ResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurityArgs strictTransportSecurity)
- Parameters:
strictTransportSecurity- Determines whether CloudFront includes the `Strict-Transport-Security` HTTP response header and the header’s value. See Strict Transport Security for more information.- Returns:
- builder
-
xssProtection
public ResponseHeadersPolicySecurityHeadersConfigArgs.Builder xssProtection(@Nullable com.pulumi.core.Output<ResponseHeadersPolicySecurityHeadersConfigXssProtectionArgs> xssProtection)
- Parameters:
xssProtection- Determine whether CloudFront includes the `X-XSS-Protection` HTTP response header and the header’s value. See XSS Protection for more information.- Returns:
- builder
-
xssProtection
public ResponseHeadersPolicySecurityHeadersConfigArgs.Builder xssProtection(ResponseHeadersPolicySecurityHeadersConfigXssProtectionArgs xssProtection)
- Parameters:
xssProtection- Determine whether CloudFront includes the `X-XSS-Protection` HTTP response header and the header’s value. See XSS Protection for more information.- Returns:
- builder
-
build
public ResponseHeadersPolicySecurityHeadersConfigArgs build()
-
-