codecatalyst:AssociateIamRoleToConnection

Write

codecatalyst:AssociateIamRoleToConnection is a Write access-level action in the codecatalyst service. Grants permission to associate an IAM role to a connection

Resource types

ARNs that codecatalyst:AssociateIamRoleToConnection 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:AssociateIamRoleToConnection.

aws:ResourceTag/${TagKey} String

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

Dependent actions

To use codecatalyst:AssociateIamRoleToConnection you may also need to grant:

Example IAM policy

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

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

Related actions in codecatalyst

View all codecatalyst actions →