access_policy
Gets an individual access_policy
resource
Overview
Name | access_policy |
Type | Resource |
Description | access_policy |
Id | awscc.iotsitewise.access_policy |
Fields
Name | Datatype | Description |
---|---|---|
access_policy_id | string | The ID of the access policy. |
access_policy_arn | string | The ARN of the access policy. |
access_policy_identity | object | The identity for this access policy. Choose either a user or a group but not both. |
access_policy_permission | string | The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER. |
access_policy_resource | object | The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
access_policy_id,
access_policy_arn,
access_policy_identity,
access_policy_permission,
access_policy_resource
FROM awscc.iotsitewise.access_policy
WHERE data__Identifier = '<AccessPolicyId>';
Permissions
To operate on the access_policy
resource, the following permissions are required:
Read
iotsitewise:DescribeAccessPolicy
Update
iotsitewise:DescribeAccessPolicy,
iotsitewise:UpdateAccessPolicy
Delete
iotsitewise:DescribeAccessPolicy,
iotsitewise:DeleteAccessPolicy