Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS Cloud9 EnvironmentEC2 Repository

The Repository property type specifies an AWS CodeCommit source code repository to be cloned into an AWS Cloud9 development environment.

The Repositories property of the AWS::Cloud9::EnvironmentEC2 resource contains a list of Repository property types.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

Copy
{ "PathComponent" : String, "RepositoryUrl" : String }

YAML

Copy
PathComponent: String RepositoryUrl: String

Properties

PathComponent

The path within the development environment's default filesystem location to clone the AWS CodeCommit repository into. For example, /repository-name would clone the repository into the /home/ec2-user/environment/repository-name directory in the environment.

Required: Yes

Type: String

Update requires: No interruption

RepositoryUrl

The clone URL of the AWS CodeCommit repository to be cloned. For example, for an AWS CodeCommit repository this might be https://git-codecommit.us-east-2.amazonaws.com/v1/repos/repository-name.

Required: Yes

Type: String

Update requires: No interruption

On this page: