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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass GitConfig data as a hash:

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#branchString

The default branch for the Git repository.

Returns:

  • (String)


4987
4988
4989
4990
4991
4992
# File 'lib/aws-sdk-sagemaker/types.rb', line 4987

class GitConfig < Struct.new(
  :repository_url,
  :branch,
  :secret_arn)
  include Aws::Structure
end

#repository_urlString

The URL where the Git repository is located.

Returns:

  • (String)


4987
4988
4989
4990
4991
4992
# File 'lib/aws-sdk-sagemaker/types.rb', line 4987

class GitConfig < Struct.new(
  :repository_url,
  :branch,
  :secret_arn)
  include Aws::Structure
end

#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, “password”: Password`

Returns:

  • (String)


4987
4988
4989
4990
4991
4992
# File 'lib/aws-sdk-sagemaker/types.rb', line 4987

class GitConfig < Struct.new(
  :repository_url,
  :branch,
  :secret_arn)
  include Aws::Structure
end