resource_policies_list_only
Lists resource_policies
in a region or regions, for all properties use resource_policies
Overview
Name | resource_policies_list_only |
Type | Resource |
Description | A resource policy with specified policy statements that attaches to a Lex bot or bot alias. |
Id | aws.lex.resource_policies_list_only |
Fields
Name | Datatype | Description |
---|---|---|
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. |
policy | object | 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. |
id | string | The Physical ID of the resource policy. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
SELECT
examples
Lists all resource_policies
in a region.
SELECT
region,
id
FROM aws.lex.resource_policies_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the resource_policies_list_only
resource, see resource_policies