AWS Fundamentals Logo
AWS Fundamentals
AWS::CodeStarConnections::RepositoryLink

CodeStarConnections RepositoryLink

Schema for AWS::CodeStarConnections::RepositoryLink resource which is used to aggregate repository metadata relevant to synchronizing source provider content to AWS Resources.

Properties

5 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
ConnectionArn
string
Required
OwnerId
string
RequiredCreate-only
RepositoryName
string
RequiredCreate-only
EncryptionKeyArn
string
Tags
Array<Tag>

Return Values

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

AttributeTypeDescription
ProviderTypestringThe name of the external provider where your third-party code repository is configured.
RepositoryLinkArnstringA unique Amazon Resource Name (ARN) to designate the repository link.
RepositoryLinkIdstringA UUID that uniquely identifies the RepositoryLink.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CodeStarConnections::RepositoryLink

Resources:
  MyResource:
    Type: AWS::CodeStarConnections::RepositoryLink
    Properties:
      RepositoryName: "my-repositoryname"
      ConnectionArn: "arn:aws:service:region:account:resource"
      OwnerId: "my-ownerid"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

update

codestar-connections:GetConnectioncodestar-connections:ListTagsForResourcecodestar-connections:PassConnectioncodestar-connections:UseConnectioncodestar-connections:TagResourcecodestar-connections:UntagResourcecodestar-connections:UpdateRepositoryLink

create

codestar-connections:CreateRepositoryLinkcodestar-connections:TagResourcecodestar-connections:UseConnectioncodestar-connections:PassConnectioncodestar-connections:GetConnectioniam:CreateServiceLinkedRole

read

codestar-connections:GetRepositoryLinkcodestar-connections:ListTagsForResourcecodestar-connections:GetConnection

delete

codestar-connections:GetRepositoryLinkcodestar-connections:DeleteRepositoryLinkcodestar-connections:GetConnection

list

codestar-connections:ListRepositoryLinkscodestar-connections:ListTagsForResource

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

ServiceCodeStarConnections
Properties8
Required3
TaggingSupported
Primary IDRepositoryLinkArn

Supported Operations

UpdateCreateReadDeleteList

Immutable After Creation

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

RepositoryNameOwnerId

External Links