ResponseHeadersPolicySecurityHeadersConfig class

Constructors

ResponseHeadersPolicySecurityHeadersConfig({Input<ResponseHeadersPolicySecurityHeadersConfigContentSecurityPolicy?>? contentSecurityPolicy, Input<ResponseHeadersPolicySecurityHeadersConfigContentTypeOptions?>? contentTypeOptions, Input<ResponseHeadersPolicySecurityHeadersConfigFrameOptions?>? frameOptions, Input<ResponseHeadersPolicySecurityHeadersConfigReferrerPolicy?>? referrerPolicy, Input<ResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurity?>? strictTransportSecurity, Input<ResponseHeadersPolicySecurityHeadersConfigXssProtection?>? xssProtection})
Creates a new ResponseHeadersPolicySecurityHeadersConfig. 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. 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. frameOptions Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value. See Frame Options for more information. referrerPolicy Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header’s value. See Referrer Policy for more information. strictTransportSecurity Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value. See Strict Transport Security for more information. xssProtection Determine whether CloudFront includes the X-XSS-Protection HTTP response header and the header’s value. See XSS Protection for more information.
const
ResponseHeadersPolicySecurityHeadersConfig.fromMap(Map<String, dynamic> map)
factory

Properties

contentSecurityPolicy → Input<ResponseHeadersPolicySecurityHeadersConfigContentSecurityPolicy?>?
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.
final
contentTypeOptions → Input<ResponseHeadersPolicySecurityHeadersConfigContentTypeOptions?>?
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.
final
frameOptions → Input<ResponseHeadersPolicySecurityHeadersConfigFrameOptions?>?
Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value. See Frame Options for more information.
final
hashCode → int
The hash code for this object.
no setterinherited
referrerPolicy → Input<ResponseHeadersPolicySecurityHeadersConfigReferrerPolicy?>?
Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header’s value. See Referrer Policy for more information.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strictTransportSecurity → Input<ResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurity?>?
Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value. See Strict Transport Security for more information.
final
xssProtection → Input<ResponseHeadersPolicySecurityHeadersConfigXssProtection?>?
Determine whether CloudFront includes the X-XSS-Protection HTTP response header and the header’s value. See XSS Protection for more information.
final

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