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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/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)


5511
5512
5513
5514
5515
5516
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5511

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)


5511
5512
5513
5514
5515
5516
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5511

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": UserName, "password": Password\}

Returns:

  • (String)


5511
5512
5513
5514
5515
5516
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5511

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