contentSecurityPolicy

@JvmName(name = "vmvwscbdpxfefpal")
suspend fun contentSecurityPolicy(value: Output<ResponseHeadersPolicyContentSecurityPolicyArgs>)
@JvmName(name = "njnjgvcdbipjbmvp")
suspend fun contentSecurityPolicy(value: ResponseHeadersPolicyContentSecurityPolicyArgs?)

Parameters

value

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.


@JvmName(name = "nusrodagoknscjnm")
suspend fun contentSecurityPolicy(argument: suspend ResponseHeadersPolicyContentSecurityPolicyArgsBuilder.() -> Unit)

Parameters

argument

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.