Skip to main content

resource_policies

Retrieves a list of resource_policies in a region

Overview

Nameresource_policies
TypeResource
Descriptionresource_policies
Idawscc.xray.resource_policies

Fields

NameDatatypeDescription
policy_namestringThe name of the resource policy. Must be unique within a specific AWS account.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
policy_name
FROM awscc.xray.resource_policies
WHERE region = 'us-east-1'

Permissions

To operate on the resource_policies resource, the following permissions are required:

Create

xray:PutResourcePolicy,
xray:ListResourcePolicies

List

xray:ListResourcePolicies