policy
Gets an individual policy
resource
Overview
Name | policy |
Type | Resource |
Description | policy |
Id | awscc.verifiedpermissions.policy |
Fields
Name | Datatype | Description |
---|---|---|
definition | undefined | |
policy_id | string | |
policy_store_id | string | |
policy_type | string | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
definition,
policy_id,
policy_store_id,
policy_type
FROM awscc.verifiedpermissions.policy
WHERE data__Identifier = '<PolicyId>|<PolicyStoreId>';
Permissions
To operate on the policy
resource, the following permissions are required:
Read
verifiedpermissions:CreatePolicy,
verifiedpermissions:GetPolicy,
verifiedpermissions:UpdatePolicy,
verifiedpermissions:DeletePolicy
Update
verifiedpermissions:CreatePolicy,
verifiedpermissions:GetPolicy,
verifiedpermissions:UpdatePolicy,
verifiedpermissions:DeletePolicy
Delete
verifiedpermissions:CreatePolicy,
verifiedpermissions:GetPolicy,
verifiedpermissions:UpdatePolicy,
verifiedpermissions:DeletePolicy