corsPolicy

@JvmName(name = "myotwrjgomqvhrcn")
suspend fun corsPolicy(value: Output<URLMapPathMatcherDefaultRouteActionCorsPolicyArgs>)
@JvmName(name = "tjaigtsrwdipxdmy")
suspend fun corsPolicy(value: URLMapPathMatcherDefaultRouteActionCorsPolicyArgs?)

Parameters

value

The specification for allowing client side cross-origin requests. Please see W3C Recommendation for Cross Origin Resource Sharing Structure is documented below.


@JvmName(name = "tqoiwronrshilreu")
suspend fun corsPolicy(argument: suspend URLMapPathMatcherDefaultRouteActionCorsPolicyArgsBuilder.() -> Unit)

Parameters

argument

The specification for allowing client side cross-origin requests. Please see W3C Recommendation for Cross Origin Resource Sharing Structure is documented below.