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
DescriptionThis schema provides construct and validation rules for AWS-XRay Resource Policy resource parameters.
Idaws.xray.resource_policies_list_only

Fields

NameDatatypeDescription
policy_namestringThe name of the resource policy. Must be unique within a specific AWS account.
policy_documentstringThe resource policy document, which can be up to 5kb in size.
bypass_policy_lockout_checkbooleanA flag to indicate whether to bypass the resource policy lockout safety check
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

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