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
ARNs that codestar:DisassociateTeamMember can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants codestar:DisassociateTeamMember.
Filters access by actions based on tag-value associated with the resource
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": "*"
}
]
}