ComponentFailureContext
¶
Source code in docs_src/capo_imagebuilder/types/component_failure_context.py
action
instance-attribute
¶
action: NotRequired[NonEmptyString]
The action that the failed step runs, for example ExecuteBash.
component_arn
instance-attribute
¶
component_arn: NotRequired[ComponentBuildVersionArn]
The Amazon Resource Name (ARN) of the component build version that failed.
error_message
instance-attribute
¶
error_message: NotRequired[NonEmptyMaxLengthString]
The error message from the step that failed. Image Builder truncates messages that are longer than 1024 characters. The component log in Amazon CloudWatch Logs contains the full output.
phase_name
instance-attribute
¶
phase_name: NotRequired[NonEmptyString]
The name of the phase in the component document where the failure occurred, such as build, validate, or test.
step_name
instance-attribute
¶
step_name: NotRequired[NonEmptyString]
The name of the step in the component document that failed.