AWS::CodeCommit::RepositoryResource Type definition for AWS::CodeCommit::Repository
6 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
RepositoryName | string | Required |
Code | Code | Write-only |
KmsKeyId | string | |
RepositoryDescription | string | |
Tags | Array<Tag> | |
Triggers | Array<RepositoryTrigger> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the repository. |
CloneUrlHttp | string | The URL to use for cloning the repository over HTTPS. |
CloneUrlSsh | string | The URL to use for cloning the repository over SSH. |
Name | string | The repository's name. |
RepositoryId | string | The ID of the repository. |
A minimal template with required properties and common optional ones.
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: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
codecommit:CreateRepositorycodecommit:PutRepositoryTriggerscodecommit:CreateCommitcodecommit:TagResources3:GetObjects3:GetObjectVersioncodecommit:ListRepositoriescodecommit:GetRepositorycodecommit:GetRepositoryTriggerscodecommit:ListTagsForResourcecodecommit:UpdateRepositoryNamecodecommit:UpdateRepositoryDescriptioncodecommit:UpdateRepositoryEncryptionKeycodecommit:PutRepositoryTriggerscodecommit:TagResourcecodecommit:UntagResourcecodecommit:ListRepositoriescodecommit:DeleteRepositorycodecommit:ListRepositoriesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterRepositoryId