AWS::Cloud9::EnvironmentEC2 Repository
The Repository
property type specifies an Amazon CodeCommit source code repository to be cloned into an Amazon Cloud9 development environment.
Syntax
To declare this entity in your Amazon 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: Replacement
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: Replacement