ServerlessFunction
Contains details about a serverless function involved in a finding.
Contents
- architectures
-
The architectures of the serverless function.
Type: Array of strings
Array Members: Fixed number of 1 item.
Valid Values:
X86_64 | ARM64Required: No
- codeDigest
-
The code digest of the serverless function.
Type: String
Length Constraints: Minimum length of 1.
Required: No
- executionRole
-
The execution role of the serverless function.
Type: String
Length Constraints: Minimum length of 1.
Required: No
- lastModifiedAt
-
The date and time the serverless function was last modified.
Type: Timestamp
Required: No
- layers
-
The layers of the serverless function.
Type: Array of strings
Pattern:
arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\d{12}:layer:[a-zA-Z0-9-_]+:[0-9]+Required: No
- networkId
-
The network ID associated with the serverless function.
Type: String
Length Constraints: Minimum length of 1.
Required: No
- packageType
-
The package type of the serverless function.
Type: String
Valid Values:
IMAGE | ZIPRequired: No
- runtime
-
The runtime of the serverless function.
Type: String
Length Constraints: Minimum length of 1.
Required: No
- securityGroupIds
-
The security group IDs associated with the serverless function.
Type: Array of strings
Array Members: Minimum number of 0 items. Maximum number of 5 items.
Length Constraints: Minimum length of 1.
Required: No
- serverlessFunctionName
-
The name of the serverless function.
Type: String
Length Constraints: Minimum length of 1.
Required: No
- subnetIds
-
The subnet IDs associated with the serverless function.
Type: Array of strings
Array Members: Minimum number of 0 items. Maximum number of 16 items.
Length Constraints: Minimum length of 1.
Required: No
- version
-
The version of the serverless function.
Type: String
Length Constraints: Minimum length of 1.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: