ResponseHeadersPolicyContentSecurityPolicyArgs

data class ResponseHeadersPolicyContentSecurityPolicyArgs(val contentSecurityPolicy: Output<String>, val override: Output<Boolean>) : ConvertibleToJava<ResponseHeadersPolicyContentSecurityPolicyArgs>

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.

Constructors

constructor(contentSecurityPolicy: Output<String>, override: Output<Boolean>)

Properties

Link copied to clipboard

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.

Link copied to clipboard
val override: Output<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.

Functions

Link copied to clipboard
open override fun toJava(): ResponseHeadersPolicyContentSecurityPolicyArgs