CodeFilePath - Inspector
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

CodeFilePath

Contains information on where a code vulnerability is located in your Lambda function.

Contents

endLine

The line number of the last line of code that a vulnerability was found in.

Type: Integer

Required: Yes

fileName

The name of the file the code vulnerability was found in.

Type: String

Length Constraints: Minimum length of 1.

Required: Yes

filePath

The file path to the code that a vulnerability was found in.

Type: String

Length Constraints: Minimum length of 1.

Required: Yes

startLine

The line number of the first line of code that a vulnerability was found in.

Type: Integer

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: