AWS CloudFormation
User Guide (Version )

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

AWS::Cloud9::EnvironmentEC2 Repository

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

Syntax

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

JSON

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

YAML

PathComponent: String RepositoryUrl: String

Properties

PathComponent

The path within the development environment's default file system location to clone the AWS CodeCommit repository into. For example, /REPOSITORY_NAME would clone the repository into the /home/USER_NAME/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: