Package com.pulumi.aws.cloudfront.inputs
Class ResponseHeadersPolicySecurityHeadersConfigXssProtectionArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.cloudfront.inputs.ResponseHeadersPolicySecurityHeadersConfigXssProtectionArgs
-
public final class ResponseHeadersPolicySecurityHeadersConfigXssProtectionArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResponseHeadersPolicySecurityHeadersConfigXssProtectionArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static ResponseHeadersPolicySecurityHeadersConfigXssProtectionArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResponseHeadersPolicySecurityHeadersConfigXssProtectionArgs.Builder
builder()
static ResponseHeadersPolicySecurityHeadersConfigXssProtectionArgs.Builder
builder(ResponseHeadersPolicySecurityHeadersConfigXssProtectionArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
modeBlock()
com.pulumi.core.Output<java.lang.Boolean>
override()
com.pulumi.core.Output<java.lang.Boolean>
protection()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
reportUri()
-
-
-
Field Detail
-
Empty
public static final ResponseHeadersPolicySecurityHeadersConfigXssProtectionArgs Empty
-
-
Method Detail
-
modeBlock
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> modeBlock()
- Returns:
- Whether CloudFront includes the `mode=block` directive in the `X-XSS-Protection` header.
-
override
public com.pulumi.core.Output<java.lang.Boolean> override()
- Returns:
- Whether CloudFront overrides the `X-XSS-Protection` HTTP response header received from the origin with the one specified in this response headers policy.
-
protection
public com.pulumi.core.Output<java.lang.Boolean> protection()
- Returns:
- A Boolean value that determines the value of the `X-XSS-Protection` HTTP response header. When this setting is `true`, the value of the `X-XSS-Protection` header is `1`. When this setting is `false`, the value of the `X-XSS-Protection` header is `0`.
-
reportUri
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> reportUri()
- Returns:
- A reporting URI, which CloudFront uses as the value of the report directive in the `X-XSS-Protection` header. You cannot specify a `report_uri` when `mode_block` is `true`.
-
builder
public static ResponseHeadersPolicySecurityHeadersConfigXssProtectionArgs.Builder builder()
-
builder
public static ResponseHeadersPolicySecurityHeadersConfigXssProtectionArgs.Builder builder(ResponseHeadersPolicySecurityHeadersConfigXssProtectionArgs defaults)
-
-