resource_policies
Retrieves a list of resource_policies
in a region
Overview
Name | resource_policies |
Type | Resource |
Description | resource_policies |
Id | awscc.ssm.resource_policies |
Fields
Name | Datatype | Description |
---|---|---|
policy_id | string | An unique identifier within the policies of a resource. |
resource_arn | string | Arn of OpsItemGroup etc. |
region | string | AWS 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