codecatalyst:ListIamRolesForConnection

List

codecatalyst:ListIamRolesForConnection is a List access-level action in the codecatalyst service. Grants permission to list IAM roles associated with a connection

Resource types

ARNs that codecatalyst:ListIamRolesForConnection can be scoped to in an IAM policy.

arn:${Partition}:codecatalyst:${Region}:${Account}:/connections/${ConnectionId}
connections

Condition keys

Keys you can use in the Condition block of a policy that grants codecatalyst:ListIamRolesForConnection.

aws:ResourceTag/${TagKey} String

Filters access by the presence of tag key-value pairs in the request

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCodecatalystListIamRolesForConnection",
      "Effect": "Allow",
      "Action": "codecatalyst:ListIamRolesForConnection",
      "Resource": "*"
    }
  ]
}

Related actions in codecatalyst

View all codecatalyst actions →