AWS Fundamentals Logo
AWS Fundamentals
AWS::CodeCommit::Repository

CodeCommit Repository

Resource Type definition for AWS::CodeCommit::Repository

Properties

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

Filter:
PropertyTypeFlags
RepositoryName
string
Required
Code
Code
KmsKeyId
string
RepositoryDescription
string
Tags
Array<Tag>
Triggers
Array<RepositoryTrigger>

Return Values

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

AttributeTypeDescription
Arnstring-
CloneUrlHttpstring-
CloneUrlSshstring-
Idstring-
Namestring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CodeCommit::Repository

Resources:
  MyResource:
    Type: AWS::CodeCommit::Repository
    Properties:
      RepositoryName: "my-repositoryname"
      Tags:
        - Key: Environment
          Value: Production

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

ServiceCodeCommit
Properties11
Required1
TaggingNot supported
Primary IDId

External Links