Skip to content

aws.organizations.describe_resource_policy

Example SQL Queries

SELECT * FROM
aws.organizations.describe_resource_policy;

Description

Retrieves information about a resource policy.

This operation can be called only from the organization's management account or by a member account that is a delegated administrator for an Amazon Web Services service.

Table Definition

Column NameColumn Data Type
resource_policy

A structure that contains details about the resource policy.

STRUCT(
"resource_policy_summary" STRUCT(
"id" VARCHAR,
"arn" VARCHAR
),
"content" VARCHAR
)
Show child fields
resource_policy.content

The policy text of the resource policy.

resource_policy.resource_policy_summary

A structure that contains resource policy ID and Amazon Resource Name (ARN).

Show child fields
resource_policy.resource_policy_summary.arn

The Amazon Resource Name (ARN) of the resource policy.

resource_policy.resource_policy_summary.id

The unique identifier (ID) of the resource policy.