Skip to content

CloudFront  >  Dictionaries  >  ResponseHeadersPolicyContentSecurityPolicyDict

ResponseHeadersPolicyContentSecurityPolicyDict

Dictionary Type

ResponseHeadersPolicyContentSecurityPolicyDict

Bases: TypedDict

Dictionary form of ResponseHeadersPolicyContentSecurityPolicy.

Attributes

content_security_policy instance-attribute
content_security_policy: Required[str]

The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

override instance-attribute
override: Required[bool]

A Boolean that determines whether CloudFront overrides the Content-Security-Policy HTTP response header received from the origin with the one specified in this response headers policy.