policy

@JvmName(name = "cfkfeikivhisyckp")
suspend fun policy(value: Output<Any>)
@JvmName(name = "uxiphtkvwljjfhaq")
suspend fun policy(value: Any?)

Parameters

value

A policy document that contains the permissions for the `RestApi` resource. To set the ARN for the policy, use the `!Join` intrinsic function with `""` as delimiter and values of `"execute-api:/"` and `"*"`. Search the CloudFormation User Guide for AWS::ApiGateway::RestApi for more information about the expected schema for this property.