Interface CfnCodeRepository.IGitConfigProperty
Specifies configuration details for a Git repository in your AWS account.
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public interface IGitConfigProperty
Syntax (vb)
Public Interface IGitConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var gitConfigProperty = new GitConfigProperty {
RepositoryUrl = "repositoryUrl",
// the properties below are optional
Branch = "branch",
SecretArn = "secretArn"
};
Synopsis
Properties
Branch | The default branch for the Git repository. |
RepositoryUrl | The URL where the Git repository is located. |
SecretArn | The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the git repository. |
Properties
Branch
The default branch for the Git repository.
virtual string Branch { get; }
Property Value
System.String
Remarks
RepositoryUrl
The URL where the Git repository is located.
string RepositoryUrl { get; }
Property Value
System.String
Remarks
SecretArn
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the git repository.
virtual string SecretArn { get; }
Property Value
System.String
Remarks
The secret must have a staging label of AWSCURRENT
and must be in the following format:
{"username": UserName , "password": Password }