aidevops:GetAssociation

Read

aidevops:GetAssociation is a Read access-level action in the aidevops service. Grants permission to get association

Resource types

ARNs that aidevops:GetAssociation can be scoped to in an IAM policy.

arn:${Partition}:aidevops:${Region}:${Account}:agentspace/${AgentSpaceId} required
agentspace
arn:${Partition}:aidevops:${Region}:${Account}:agentspace/${AgentSpaceId}/association/${AssociationId} required
associations

Condition keys

Keys you can use in the Condition block of a policy that grants aidevops:GetAssociation.

aidevops:ServiceType String

Filters access by the type of service in the association, such as github, slack, aws or sourceAws. Set by the service from the association's configuration, not supplied by the caller

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAidevopsGetAssociation",
      "Effect": "Allow",
      "Action": "aidevops:GetAssociation",
      "Resource": "*"
    }
  ]
}

Related actions in aidevops

View all aidevops actions →