Interface CfnCodeRepository.GitConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCodeRepository.GitConfigProperty.Jsii$Proxy
- Enclosing class:
- CfnCodeRepository
@Stability(Stable)
public static interface CfnCodeRepository.GitConfigProperty
extends software.amazon.jsii.JsiiSerializable
Specifies configuration details for a Git repository in your AWS account.
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.sagemaker.*; GitConfigProperty gitConfigProperty = GitConfigProperty.builder() .repositoryUrl("repositoryUrl") // the properties below are optional .branch("branch") .secretArn("secretArn") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCodeRepository.GitConfigProperty
static final class
An implementation forCfnCodeRepository.GitConfigProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRepositoryUrl
The URL where the Git repository is located. -
getBranch
The default branch for the Git repository. -
getSecretArn
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the git repository.The secret must have a staging label of
AWSCURRENT
and must be in the following format:{"username": *UserName* , "password": *Password* }
-
builder
-