resource_policies
Retrieves a list of resource_policies
in a region
Overview
Name | resource_policies |
Type | Resource |
Description | resource_policies |
Id | awscc.xray.resource_policies |
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
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