codestar:ListResources

List

codestar:ListResources is a List access-level action in the codestar service. Grants permission to list all resources associated with a project in CodeStar

Resource types

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

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

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

Related actions in codestar

View all codestar actions →