corsPolicy

@JvmName(name = "hysatybxuiersbfm")
suspend fun corsPolicy(value: Output<URLMapPathMatcherPathRuleRouteActionCorsPolicyArgs>)
@JvmName(name = "qofosgvktlwiwbln")
suspend fun corsPolicy(value: URLMapPathMatcherPathRuleRouteActionCorsPolicyArgs?)

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 = "hfgsmwmurvvkaodn")
suspend fun corsPolicy(argument: suspend URLMapPathMatcherPathRuleRouteActionCorsPolicyArgsBuilder.() -> 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.