AWS Fundamentals Logo
AWS Fundamentals
AWS::CodeGuruReviewer::RepositoryAssociation

CodeGuruReviewer RepositoryAssociation

This resource schema represents the RepositoryAssociation resource in the Amazon CodeGuru Reviewer service.

Properties

6 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
Name
string
RequiredCreate-only
Type
string
RequiredCreate-only
BucketName
string
Create-only
ConnectionArn
string
Create-only
Owner
string
Create-only
Tags
Array<Tag>
Create-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
AssociationArnstringThe Amazon Resource Name (ARN) of the repository association.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CodeGuruReviewer::RepositoryAssociation

Resources:
  MyResource:
    Type: AWS::CodeGuruReviewer::RepositoryAssociation
    Properties:
      Name: "my-name"
      Type: "CodeCommit"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

codeguru-reviewer:DescribeRepositoryAssociationcodeguru-reviewer:AssociateRepositorycodeguru-reviewer:TagResourceiam:CreateServiceLinkedRolecodecommit:TagResourcecodecommit:GitPullcodecommit:TagResourceevents:PutRule

read

codeguru-reviewer:DescribeRepositoryAssociationcodeguru-reviewer:ListTagsForResource

delete

codeguru-reviewer:DescribeRepositoryAssociationcodeguru-reviewer:DisassociateRepositorycodecommit:UntagResourceevents:DeleteRuleevents:RemoveTargetscodestar-connections:UntagResourcecodestar-connections:ListTagsForResource

list

codeguru-reviewer:ListRepositoryAssociations

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceCodeGuruReviewer
Properties7
Required2
TaggingSupported
Primary IDAssociationArn

Supported Operations

CreateReadDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

NameTypeTagsBucketNameOwnerConnectionArn

External Links