policy

@JvmName(name = "bvgtymranbvlcgij")
suspend fun policy(value: Output<String>)
@JvmName(name = "aemoasikqfrmckun")
suspend fun policy(value: String?)

Parameters

value

JSON formatted policy document that controls access to the API Gateway. For more information about building AWS IAM policy documents with Pulumi, see the AWS IAM Policy Document Guide. The provider will only perform drift detection of its value when present in a configuration. We recommend using the aws.apigateway.RestApiPolicy resource instead. If importing an OpenAPI specification via the body argument, this corresponds to the x-amazon-apigateway-policy extension. If the argument value is provided and is different than the OpenAPI value, the argument value will override the OpenAPI value.