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 | This schema provides construct and validation rules for AWS-XRay Resource Policy resource parameters. |
| Id | aws.xray.resource_policies_list_only |
Fields
| Name | Datatype | Description |
|---|---|---|
policy_name | string | The name of the resource policy. Must be unique within a specific AWS account. |
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,
policy_name
FROM aws.xray.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