CodeFilePath - Inspector

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 AWS SDKs, see the following: