TestResult

Contains the result of testing a CloudFront function with TestFunction.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

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.

Functions

Link copied to clipboard
inline fun copy(block: TestResult.Builder.() -> Unit = {}): TestResult
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String