AwsLambdaFunctionDetails - Inspector

AwsLambdaFunctionDetails

A summary of information about the AWS Lambda function.

Contents

codeSha256

The SHA256 hash of the AWS Lambda function's deployment package.

Type: String

Length Constraints: Minimum length of 1.

Required: Yes

executionRoleArn

The AWS Lambda function's execution role.

Type: String

Pattern: ^arn:(aws[a-zA-Z-]*)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$

Required: Yes

functionName

The name of the AWS Lambda function.

Type: String

Pattern: ^[a-zA-Z0-9-_\.]+(:(\$LATEST|[a-zA-Z0-9-_]+))?$

Required: Yes

runtime

The runtime environment for the AWS Lambda function.

Type: String

Valid Values: NODEJS | NODEJS_12_X | NODEJS_14_X | NODEJS_16_X | JAVA_8 | JAVA_8_AL2 | JAVA_11 | PYTHON_3_7 | PYTHON_3_8 | PYTHON_3_9 | UNSUPPORTED | NODEJS_18_X | GO_1_X | JAVA_17 | PYTHON_3_10 | PYTHON_3_11 | DOTNETCORE_3_1 | DOTNET_6 | DOTNET_7 | RUBY_2_7 | RUBY_3_2

Required: Yes

version

The version of the AWS Lambda function.

Type: String

Pattern: ^\$LATEST|[0-9]+$

Required: Yes

architectures

The instruction set architecture that the AWS Lambda function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.

Type: Array of strings

Array Members: Fixed number of 1 item.

Valid Values: X86_64 | ARM64

Required: No

lastModifiedAt

The date and time that a user last updated the configuration, in ISO 8601 format

Type: Timestamp

Required: No

layers

The AWS Lambda function's layers. A Lambda function can have up to five layers.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 5 items.

Pattern: ^arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\d{12}:layer:[a-zA-Z0-9-_]+:[0-9]+$

Required: No

packageType

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

Type: String

Valid Values: IMAGE | ZIP

Required: No

vpcConfig

The AWS Lambda function's networking configuration.

Type: LambdaVpcConfig object

Required: No

See Also

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