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

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

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 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).

Returns:

  • (String)


1439
1440
1441
1442
1443
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1439

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.

Returns:



1439
1440
1441
1442
1443
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1439

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