Skip to main content

assignment

Gets an individual assignment resource

Overview

Nameassignment
TypeResource
Descriptionassignment
Idawscc.sso.assignment

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

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
instance_arn,
target_id,
target_type,
permission_set_arn,
principal_type,
principal_id
FROM awscc.sso.assignment
WHERE data__Identifier = '<InstanceArn>|<TargetId>|<TargetType>|<PermissionSetArn>|<PrincipalType>|<PrincipalId>';

Permissions

To operate on the assignment resource, the following permissions are required:

Read

sso:ListAccountAssignments,
iam:GetSAMLProvider,
iam:ListRolePolicies

Delete

sso:ListAccountAssignments,
sso:DeleteAccountAssignment,
sso:DescribeAccountAssignmentDeletionStatus,
iam:GetSAMLProvider,
iam:ListRolePolicies