ResponseHeadersPolicyContentSecurityPolicyArgs

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

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.

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