@Stability(value=Stable)
public static interface CfnCodeRepository.GitConfigProperty
extends software.amazon.jsii.JsiiSerializable
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 String |
getBranch()
The default branch for the Git repository.
|
String |
getRepositoryUrl()
The URL where the Git repository is located.
|
default String |
getSecretArn()
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the git repository.
|
@Stability(value=Stable) @NotNull String getRepositoryUrl()
@Stability(value=Stable) @Nullable default String getBranch()
@Stability(value=Stable) @Nullable default String getSecretArn()
The secret must have a staging label of AWSCURRENT and must be in the following format:
{"username": *UserName* , "password": *Password* }
@Stability(value=Stable) static CfnCodeRepository.GitConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.