AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Specifies configuration details for a Git repository in your Amazon Web Services account.

Inheritance Hierarchy

System.Object
  Amazon.SageMaker.Model.GitConfig

Namespace: Amazon.SageMaker.Model
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z

Syntax

C#
public class GitConfig

The GitConfig type exposes the following members

Constructors

NameDescription
Public Method GitConfig()

Properties

NameTypeDescription
Public Property Branch System.String

Gets and sets the property Branch.

The default branch for the Git repository.

Public Property RepositoryUrl System.String

Gets and sets the property RepositoryUrl.

The URL where the Git repository is located.

Public Property SecretArn System.String

Gets and sets the property SecretArn.

The Amazon Resource Name (ARN) of the Amazon Web Services 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}

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5