Interface CfnEnvironmentEC2.RepositoryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEnvironmentEC2.RepositoryProperty.Jsii$Proxy
- Enclosing class:
CfnEnvironmentEC2
@Stability(Stable)
public static interface CfnEnvironmentEC2.RepositoryProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.cloud9.*;
RepositoryProperty repositoryProperty = RepositoryProperty.builder()
.pathComponent("pathComponent")
.repositoryUrl("repositoryUrl")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEnvironmentEC2.RepositoryPropertystatic final classAn implementation forCfnEnvironmentEC2.RepositoryProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The path within the development environment's default file system location to clone the AWS CodeCommit repository into.The clone URL of the AWS CodeCommit repository to be cloned.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPathComponent
The path within the development environment's default file system location to clone the AWS CodeCommit repository into.For example,
/REPOSITORY_NAMEwould clone the repository into the/home/USER_NAME/environment/REPOSITORY_NAMEdirectory in the environment.- See Also:
-
getRepositoryUrl
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.- See Also:
-
builder
-