corsPolicy

@JvmName(name = "vvxkgxnjyfaeifhp")
suspend fun corsPolicy(value: Output<URLMapPathMatcherRouteRuleRouteActionCorsPolicyArgs>)
@JvmName(name = "hydfimyfqafoxcjd")
suspend fun corsPolicy(value: URLMapPathMatcherRouteRuleRouteActionCorsPolicyArgs?)

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