Class: Aws::MigrationHubStrategyRecommendations::Types::SourceCode

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/types.rb

Overview

Note:

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

{
  location: "Location",
  source_version: "SourceVersion",
  version_control: "GITHUB", # accepts GITHUB, GITHUB_ENTERPRISE
}

Object containing source code information that is linked to an application component.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#locationString

The repository name for the source code.

Returns:

  • (String)


1877
1878
1879
1880
1881
1882
1883
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/types.rb', line 1877

class SourceCode < Struct.new(
  :location,
  :source_version,
  :version_control)
  SENSITIVE = []
  include Aws::Structure
end

#source_versionString

The branch of the source code.

Returns:

  • (String)


1877
1878
1879
1880
1881
1882
1883
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/types.rb', line 1877

class SourceCode < Struct.new(
  :location,
  :source_version,
  :version_control)
  SENSITIVE = []
  include Aws::Structure
end

#version_controlString

The type of repository to use for the source code.

Returns:

  • (String)


1877
1878
1879
1880
1881
1882
1883
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/types.rb', line 1877

class SourceCode < Struct.new(
  :location,
  :source_version,
  :version_control)
  SENSITIVE = []
  include Aws::Structure
end