Skip to main content

access_policy

Gets an individual access_policy resource

Overview

Nameaccess_policy
TypeResource
Descriptionaccess_policy
Idawscc.iotsitewise.access_policy

Fields

NameDatatypeDescription
access_policy_idstringThe ID of the access policy.
access_policy_arnstringThe ARN of the access policy.
access_policy_identityobjectThe identity for this access policy. Choose either a user or a group but not both.
access_policy_permissionstringThe permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
access_policy_resourceobjectThe AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
regionstringAWS 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