contentSecurityPolicy

@JvmName(name = "rxipquvcklkwitqa")
suspend fun contentSecurityPolicy(value: Output<ResponseHeadersPolicyContentSecurityPolicyArgs>)
@JvmName(name = "oitfhfmlqmoadymu")
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 = "btlbgdqabjobupop")
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.