Class GetResponseHeadersPolicySecurityHeadersConfigXssProtection
- java.lang.Object
-
- com.pulumi.aws.cloudfront.outputs.GetResponseHeadersPolicySecurityHeadersConfigXssProtection
-
public final class GetResponseHeadersPolicySecurityHeadersConfigXssProtection extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetResponseHeadersPolicySecurityHeadersConfigXssProtection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetResponseHeadersPolicySecurityHeadersConfigXssProtection.Builder
builder()
static GetResponseHeadersPolicySecurityHeadersConfigXssProtection.Builder
builder(GetResponseHeadersPolicySecurityHeadersConfigXssProtection defaults)
java.lang.Boolean
modeBlock()
java.lang.Boolean
override()
java.lang.Boolean
protection()
java.lang.String
reportUri()
-
-
-
Method Detail
-
modeBlock
public java.lang.Boolean modeBlock()
- Returns:
- Whether CloudFront includes the mode=block directive in the X-XSS-Protection header.
-
override
public 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 java.lang.Boolean protection()
- Returns:
- 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.lang.String reportUri()
- Returns:
- Whether CloudFront sets a reporting URI in the X-XSS-Protection header.
-
builder
public static GetResponseHeadersPolicySecurityHeadersConfigXssProtection.Builder builder()
-
builder
public static GetResponseHeadersPolicySecurityHeadersConfigXssProtection.Builder builder(GetResponseHeadersPolicySecurityHeadersConfigXssProtection defaults)
-
-