ResponseHeadersPolicySecurityHeadersConfigXssProtection class

Constructors

ResponseHeadersPolicySecurityHeadersConfigXssProtection({Input<bool?>? modeBlock, required Input<bool> override, required Input<bool> protection, Input<String?>? reportUri})
Creates a new ResponseHeadersPolicySecurityHeadersConfigXssProtection. modeBlock Whether CloudFront includes the mode=block directive in the X-XSS-Protection header. override Whether CloudFront overrides the X-XSS-Protection HTTP response header received from the origin with the one specified in this response headers policy. protection 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 A reporting URI, which CloudFront uses as the value of the report directive in the X-XSS-Protection header. You cannot specify a reportUri when modeBlock is true.
const
ResponseHeadersPolicySecurityHeadersConfigXssProtection.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
modeBlock → Input<bool?>?
Whether CloudFront includes the mode=block directive in the X-XSS-Protection header.
final
override → Input<bool>
Whether CloudFront overrides the X-XSS-Protection HTTP response header received from the origin with the one specified in this response headers policy.
final
protection → Input<bool>
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.
final
reportUri → Input<String?>?
A reporting URI, which CloudFront uses as the value of the report directive in the X-XSS-Protection header. You cannot specify a reportUri when modeBlock is true.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited