aws-cdk-lib.aws_cloud9.CfnEnvironmentEC2.RepositoryProperty

interface RepositoryProperty

LanguageType name
.NETAmazon.CDK.AWS.Cloud9.CfnEnvironmentEC2.RepositoryProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloud9#CfnEnvironmentEC2_RepositoryProperty
Javasoftware.amazon.awscdk.services.cloud9.CfnEnvironmentEC2.RepositoryProperty
Pythonaws_cdk.aws_cloud9.CfnEnvironmentEC2.RepositoryProperty
TypeScript aws-cdk-lib » aws_cloud9 » CfnEnvironmentEC2 » 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 { aws_cloud9 as cloud9 } from 'aws-cdk-lib';
const repositoryProperty: cloud9.CfnEnvironmentEC2.RepositoryProperty = {
  pathComponent: 'pathComponent',
  repositoryUrl: 'repositoryUrl',
};

Properties

NameTypeDescription
pathComponentstringThe path within the development environment's default file system location to clone the AWS CodeCommit repository into.
repositoryUrlstringThe clone URL of the AWS CodeCommit repository to be cloned.

pathComponent

Type: string

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

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 .