TestResult
class TestResult
Contains the result of testing a CloudFront function with TestFunction
.
Types
Properties
Link copied to clipboard
The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.
Link copied to clipboard
If the result of testing the function was an error, this field contains the error message.
Link copied to clipboard
Contains the log lines that the function wrote (if any) when running the test.
Link copied to clipboard
The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.
Link copied to clipboard
Contains configuration information and metadata about the CloudFront function that was tested.