--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_lex_resource_policy Data Source - terraform-provider-awscc" subcategory: "" description: |- Data Source schema for AWS::Lex::ResourcePolicy --- # awscc_lex_resource_policy (Data Source) Data Source schema for AWS::Lex::ResourcePolicy ## Schema ### Required - `id` (String) Uniquely identifies the resource. ### Read-Only - `policy` (Map of String) A resource policy to add to the resource. The policy is a JSON structure following the IAM syntax that contains one or more statements that define the policy. - `resource_arn` (String) The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to. - `revision_id` (String) The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.