You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SageMaker::Types::GitConfig

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GitConfig as input to an Aws::Client method, you can use a vanilla Hash:

{
  repository_url: "GitConfigUrl", # required
  branch: "Branch",
  secret_arn: "SecretArn",
}

Specifies configuration details for a Git repository in your AWS account.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#branchString

The default branch for the Git repository.

Returns:

  • (String)

    The default branch for the Git repository.

#repository_urlString

The URL where the Git repository is located.

Returns:

  • (String)

    The URL where the Git repository is located.

#secret_arnString

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 AWSCURRENT and must be in the following format:

{"username": UserName, "password": Password}

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the git repository.