

# CodeLine
<a name="API_CodeLine"></a>

Contains information on the lines of code associated with a code snippet.

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

 ** content **   <a name="inspector2-Type-CodeLine-content"></a>
The content of a line of code  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 240.  
Required: Yes

 ** lineNumber **   <a name="inspector2-Type-CodeLine-lineNumber"></a>
The line number that a section of code is located at.  
Type: Integer  
Required: Yes

## See Also
<a name="API_CodeLine_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/inspector2-2020-06-08/CodeLine) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/inspector2-2020-06-08/CodeLine) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/inspector2-2020-06-08/CodeLine) 