Skip to main content

resource_policies_list_only

Lists resource_policies in a region or regions, for all properties use resource_policies

Overview

Nameresource_policies_list_only
TypeResource
DescriptionA resource policy with specified policy statements that attaches to a Lex bot or bot alias.
Idaws.lex.resource_policies_list_only

Fields

NameDatatypeDescription
resource_arnstringThe Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
revision_idstringThe 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.
policyobjectA 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.
idstringThe Physical ID of the resource policy.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

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