codecatalyst:GetConnection

Read

codecatalyst:GetConnection is a Read access-level action in the codecatalyst service. Grants permission to get a connection

Resource types

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

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

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

Related actions in codecatalyst

View all codecatalyst actions →