identitystore:CreateGroupMembership

Write

identitystore:CreateGroupMembership is a Write access-level action in the identitystore service. Grants permission to create a member to a group in the specified IdentityStore

Resource types

ARNs that identitystore:CreateGroupMembership can be scoped to in an IAM policy.

arn:${Partition}:identitystore:::group/${GroupId}
Group
arn:${Partition}:identitystore::${Account}:identitystore/${IdentityStoreId}
Identitystore
arn:${Partition}:identitystore:::user/${UserId}
User

Condition keys

No condition keys are documented for this action.

Dependent actions

To use identitystore:CreateGroupMembership you may also need to grant:

Example IAM policy

A minimal policy that allows identitystore:CreateGroupMembership. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowIdentitystoreCreateGroupMembership",
      "Effect": "Allow",
      "Action": "identitystore:CreateGroupMembership",
      "Resource": "*"
    }
  ]
}

Related actions in identitystore

View all identitystore actions →