public static interface CfnCodeRepository.GitConfigProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnCodeRepository.GitConfigProperty.Builder
A builder for
CfnCodeRepository.GitConfigProperty |
static class |
CfnCodeRepository.GitConfigProperty.Jsii$Proxy
An implementation for
CfnCodeRepository.GitConfigProperty |
Modifier and Type | Method and Description |
---|---|
static CfnCodeRepository.GitConfigProperty.Builder |
builder() |
default java.lang.String |
getBranch()
The default branch for the Git repository.
|
java.lang.String |
getRepositoryUrl()
The URL where the Git repository is located.
|
default java.lang.String |
getSecretArn()
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the git repository.
|
java.lang.String getRepositoryUrl()
default java.lang.String getBranch()
default java.lang.String getSecretArn()
The secret must have a staging label of AWSCURRENT
and must be in the following format:
{"username": *UserName* , "password": *Password* }
static CfnCodeRepository.GitConfigProperty.Builder builder()