Skip to main content

resource_policies

Retrieves a list of resource_policies in a region

Overview

Nameresource_policies
TypeResource
Descriptionresource_policies
Idawscc.ssm.resource_policies

Fields

NameDatatypeDescription
policy_idstringAn unique identifier within the policies of a resource.
resource_arnstringArn of OpsItemGroup etc.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
policy_id,
resource_arn
FROM awscc.ssm.resource_policies
WHERE region = 'us-east-1'

Permissions

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

Create

ssm:PutResourcePolicy

List

ssm:GetResourcePolicies