GetResponseHeadersPolicySecurityHeadersConfig class

Constructors

GetResponseHeadersPolicySecurityHeadersConfig({required Input<List<GetResponseHeadersPolicySecurityHeadersConfigContentSecurityPolicy>> contentSecurityPolicies, required Input<List<GetResponseHeadersPolicySecurityHeadersConfigContentTypeOption>> contentTypeOptions, required Input<List<GetResponseHeadersPolicySecurityHeadersConfigFrameOption>> frameOptions, required Input<List<GetResponseHeadersPolicySecurityHeadersConfigReferrerPolicy>> referrerPolicies, required Input<List<GetResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurity>> strictTransportSecurities, required Input<List<GetResponseHeadersPolicySecurityHeadersConfigXssProtection>> xssProtections})
Creates a new GetResponseHeadersPolicySecurityHeadersConfig. contentSecurityPolicies The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header. contentTypeOptions A setting that 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 Setting that determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value. See Frame Options for more information. referrerPolicies Value of the Referrer-Policy HTTP response header. Valid Values: no-referrer | no-referrer-when-downgrade | origin | origin-when-cross-origin | same-origin | strict-origin | strict-origin-when-cross-origin | unsafe-url strictTransportSecurities Settings that determine whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value. See Strict Transport Security for more information. xssProtections Settings that determine whether CloudFront includes the X-XSS-Protection HTTP response header and the header’s value. See XSS Protection for more information.
const
GetResponseHeadersPolicySecurityHeadersConfig.fromMap(Map<String, dynamic> map)
factory

Properties

contentSecurityPolicies → Input<List<GetResponseHeadersPolicySecurityHeadersConfigContentSecurityPolicy>>
The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.
final
contentTypeOptions → Input<List<GetResponseHeadersPolicySecurityHeadersConfigContentTypeOption>>
A setting that 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<List<GetResponseHeadersPolicySecurityHeadersConfigFrameOption>>
Setting that 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
referrerPolicies → Input<List<GetResponseHeadersPolicySecurityHeadersConfigReferrerPolicy>>
Value of the Referrer-Policy HTTP response header. Valid Values: no-referrer | no-referrer-when-downgrade | origin | origin-when-cross-origin | same-origin | strict-origin | strict-origin-when-cross-origin | unsafe-url
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strictTransportSecurities → Input<List<GetResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurity>>
Settings that determine whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value. See Strict Transport Security for more information.
final
xssProtections → Input<List<GetResponseHeadersPolicySecurityHeadersConfigXssProtection>>
Settings that 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