codestar:DisassociateTeamMember

Permissions management

codestar:DisassociateTeamMember is a Permissions management access-level action in the codestar service. Grants permission to remove a user from a project. Removing a user from a project also removes the IAM policies from that user that allowed access to the project and its resources

Resource types

ARNs that codestar:DisassociateTeamMember can be scoped to in an IAM policy.

arn:${Partition}:codestar:${Region}:${Account}:project/${ProjectId}
project

Condition keys

Keys you can use in the Condition block of a policy that grants codestar:DisassociateTeamMember.

aws:ResourceTag/${TagKey} String

Filters access by actions based on tag-value associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCodestarDisassociateTeamMember",
      "Effect": "Allow",
      "Action": "codestar:DisassociateTeamMember",
      "Resource": "*"
    }
  ]
}

Related actions in codestar

View all codestar actions →