Class: Aws::CloudFront::Types::ResponseHeadersPolicyContentSecurityPolicy
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::CloudFront::Types::ResponseHeadersPolicyContentSecurityPolicy
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-cloudfront/types.rb
 
Overview
The policy directives and their values that CloudFront includes as values for the ‘Content-Security-Policy` HTTP response header.
For more information about the ‘Content-Security-Policy` HTTP response header, see [Content-Security-Policy] in the MDN Web Docs.
[1]: developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #content_security_policy  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The policy directives and their values that CloudFront includes as values for the ‘Content-Security-Policy` HTTP response header.
 - 
  
    
      #override  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
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.
 
Instance Attribute Details
#content_security_policy ⇒ String
The policy directives and their values that CloudFront includes as values for the ‘Content-Security-Policy` HTTP response header.
      10513 10514 10515 10516 10517 10518  | 
    
      # File 'lib/aws-sdk-cloudfront/types.rb', line 10513 class ResponseHeadersPolicyContentSecurityPolicy < Struct.new( :override, :content_security_policy) SENSITIVE = [] include Aws::Structure end  | 
  
#override ⇒ Boolean
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.
      10513 10514 10515 10516 10517 10518  | 
    
      # File 'lib/aws-sdk-cloudfront/types.rb', line 10513 class ResponseHeadersPolicyContentSecurityPolicy < Struct.new( :override, :content_security_policy) SENSITIVE = [] include Aws::Structure end  |