Interface CfnCodeRepositoryPropsMixin.GitConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCodeRepositoryPropsMixin.GitConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCodeRepositoryPropsMixin
@Stability(Stable)
public static interface CfnCodeRepositoryPropsMixin.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.cfnpropertymixins.services.sagemaker.*;
GitConfigProperty gitConfigProperty = GitConfigProperty.builder()
.branch("branch")
.repositoryUrl("repositoryUrl")
.secretArn("secretArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCodeRepositoryPropsMixin.GitConfigPropertystatic final classAn implementation forCfnCodeRepositoryPropsMixin.GitConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe default branch for the Git repository.default StringThe URL where the Git repository is located.default StringThe Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the git repository.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBranch
The default branch for the Git repository.- See Also:
-
getRepositoryUrl
The URL where the Git repository is located.- See Also:
-
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
AWSCURRENTand must be in the following format:{"username": *UserName* , "password": *Password* }- See Also:
-
builder
-