AwsLambdaFunctionDetails - AWS Security Hub

AwsLambdaFunctionDetails

Details about an AWS Lambda function's configuration.

Contents

Architectures

The instruction set architecture that the function uses. Valid values are x86_64 or arm64.

Type: Array of strings

Pattern: .*\S.*

Required: No

Code

An AwsLambdaFunctionCode object.

Type: AwsLambdaFunctionCode object

Required: No

CodeSha256

The SHA256 hash of the function's deployment package.

Type: String

Pattern: .*\S.*

Required: No

DeadLetterConfig

The function's dead letter queue.

Type: AwsLambdaFunctionDeadLetterConfig object

Required: No

Environment

The function's environment variables.

Type: AwsLambdaFunctionEnvironment object

Required: No

FunctionName

The name of the function.

Type: String

Pattern: .*\S.*

Required: No

Handler

The function that Lambda calls to begin executing your function.

Type: String

Pattern: .*\S.*

Required: No

KmsKeyArn

The AWS KMS key that is used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed customer managed key.

Type: String

Pattern: .*\S.*

Required: No

LastModified

Indicates when the function was last updated.

This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

  • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

  • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

  • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

  • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

  • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

Type: String

Pattern: .*\S.*

Required: No

Layers

The function's layers.

Type: Array of AwsLambdaFunctionLayer objects

Required: No

MasterArn

For Lambda@Edge functions, the ARN of the master function.

Type: String

Pattern: .*\S.*

Required: No

MemorySize

The memory that is allocated to the function.

Type: Integer

Required: No

PackageType

The type of deployment package that's used to deploy the function code to Lambda. Set to Image for a container image and Zip for a .zip file archive.

Type: String

Pattern: .*\S.*

Required: No

RevisionId

The latest updated revision of the function or alias.

Type: String

Pattern: .*\S.*

Required: No

Role

The function's execution role.

Type: String

Pattern: .*\S.*

Required: No

Runtime

The runtime environment for the Lambda function.

Type: String

Pattern: .*\S.*

Required: No

Timeout

The amount of time that Lambda allows a function to run before stopping it.

Type: Integer

Required: No

TracingConfig

The function's AWS X-Ray tracing configuration.

Type: AwsLambdaFunctionTracingConfig object

Required: No

Version

The version of the Lambda function.

Type: String

Pattern: .*\S.*

Required: No

VpcConfig

The function's networking configuration.

Type: AwsLambdaFunctionVpcConfig object

Required: No

See Also

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