codestar:DeleteProject

Permissions management

codestar:DeleteProject is a Permissions management access-level action in the codestar service. Grants permission to delete a project, including project resources. Does not delete users associated with the project, but does delete the IAM roles that allowed access to the project

Resource types

ARNs that codestar:DeleteProject 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:DeleteProject.

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:DeleteProject. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in codestar

View all codestar actions →