Class: Aws::SageMaker::Types::CreateCodeRepositoryInput

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 CreateCodeRepositoryInput data as a hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#code_repository_nameString

The name of the Git repository. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).



2382
2383
2384
2385
2386
# File 'lib/aws-sdk-sagemaker/types.rb', line 2382

class CreateCodeRepositoryInput < Struct.new(
  :code_repository_name,
  :git_config)
  include Aws::Structure
end

#git_configTypes::GitConfig

Specifies details about the repository, including the URL where the repository is located, the default branch, and credentials to use to access the repository.



2382
2383
2384
2385
2386
# File 'lib/aws-sdk-sagemaker/types.rb', line 2382

class CreateCodeRepositoryInput < Struct.new(
  :code_repository_name,
  :git_config)
  include Aws::Structure
end