interface RepositoryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Cloud9.Mixins.CfnEnvironmentEC2PropsMixin.RepositoryProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscloud9/mixins#CfnEnvironmentEC2PropsMixin_RepositoryProperty |
Java | software.amazon.awscdk.mixins.preview.services.cloud9.mixins.CfnEnvironmentEC2PropsMixin.RepositoryProperty |
Python | aws_cdk.mixins_preview.aws_cloud9.mixins.CfnEnvironmentEC2PropsMixin.RepositoryProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cloud9 » mixins » CfnEnvironmentEC2PropsMixin » RepositoryProperty |
The Repository property type specifies an AWS CodeCommit source code repository to be cloned into an AWS Cloud9 development environment.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as cloud9_mixins } from '@aws-cdk/mixins-preview/aws-cloud9';
const repositoryProperty: cloud9_mixins.CfnEnvironmentEC2PropsMixin.RepositoryProperty = {
pathComponent: 'pathComponent',
repositoryUrl: 'repositoryUrl',
};
Properties
| Name | Type | Description |
|---|---|---|
| path | string | The path within the development environment's default file system location to clone the AWS CodeCommit repository into. |
| repository | string | The clone URL of the AWS CodeCommit repository to be cloned. |
pathComponent?
Type:
string
(optional)
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.
repositoryUrl?
Type:
string
(optional)
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 .

.NET
Go
Java
Python
TypeScript