Skip to main content

assignments_list_only

Lists assignments in a region or regions, for all properties use assignments

Overview

Nameassignments_list_only
TypeResource
DescriptionResource Type definition for SSO assignmet
Idaws.sso.assignments_list_only

Fields

NameDatatypeDescription
instance_arnstringThe sso instance that the permission set is owned.
target_idstringThe account id to be provisioned.
target_typestringThe type of resource to be provsioned to, only aws account now
permission_set_arnstringThe permission set that the assignemt will be assigned
principal_typestringThe assignee's type, user/group
principal_idstringThe assignee's identifier, user id/group id
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all assignments in a region.

SELECT
region,
instance_arn,
target_id,
target_type,
permission_set_arn,
principal_type,
principal_id
FROM aws.sso.assignments_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the assignments_list_only resource, see assignments