

# SourceCode
<a name="API_SourceCode"></a>

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

## Contents
<a name="API_SourceCode_Contents"></a>

 ** location **   <a name="migrationhubstrategy-Type-SourceCode-location"></a>
 The repository name for the source code.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `.*\S.*`   
Required: No

 ** projectName **   <a name="migrationhubstrategy-Type-SourceCode-projectName"></a>
The name of the project.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `.*\S.*`   
Required: No

 ** sourceVersion **   <a name="migrationhubstrategy-Type-SourceCode-sourceVersion"></a>
 The branch of the source code.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 40.  
Pattern: `.*\S.*`   
Required: No

 ** versionControl **   <a name="migrationhubstrategy-Type-SourceCode-versionControl"></a>
 The type of repository to use for the source code.   
Type: String  
Valid Values: `GITHUB | GITHUB_ENTERPRISE | AZURE_DEVOPS_GIT`   
Required: No

## See Also
<a name="API_SourceCode_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/migrationhubstrategy-2020-02-19/SourceCode) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/migrationhubstrategy-2020-02-19/SourceCode) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/migrationhubstrategy-2020-02-19/SourceCode) 