Class: Aws::Imagebuilder::Types::ComponentFailureContext
- Inherits:
-
Struct
- Object
- Struct
- Aws::Imagebuilder::Types::ComponentFailureContext
- Defined in:
- gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb
Overview
Contains details about the component that caused the image creation process to fail. The details identify the first step that failed when the component ran.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action ⇒ String
The action that the failed step runs, for example
ExecuteBash. -
#component_arn ⇒ String
The Amazon Resource Name (ARN) of the component build version that failed.
-
#error_message ⇒ String
The error message from the step that failed.
-
#phase_name ⇒ String
The name of the phase in the component document where the failure occurred, such as
build,validate, ortest. -
#step_name ⇒ String
The name of the step in the component document that failed.
Instance Attribute Details
#action ⇒ String
The action that the failed step runs, for example ExecuteBash.
525 526 527 528 529 530 531 532 533 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 525 class ComponentFailureContext < Struct.new( :component_arn, :phase_name, :step_name, :action, :error_message) SENSITIVE = [] include Aws::Structure end |
#component_arn ⇒ String
The Amazon Resource Name (ARN) of the component build version that failed.
525 526 527 528 529 530 531 532 533 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 525 class ComponentFailureContext < Struct.new( :component_arn, :phase_name, :step_name, :action, :error_message) SENSITIVE = [] include Aws::Structure end |
#error_message ⇒ String
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.
525 526 527 528 529 530 531 532 533 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 525 class ComponentFailureContext < Struct.new( :component_arn, :phase_name, :step_name, :action, :error_message) SENSITIVE = [] include Aws::Structure end |
#phase_name ⇒ String
The name of the phase in the component document where the failure
occurred, such as build, validate, or test.
525 526 527 528 529 530 531 532 533 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 525 class ComponentFailureContext < Struct.new( :component_arn, :phase_name, :step_name, :action, :error_message) SENSITIVE = [] include Aws::Structure end |
#step_name ⇒ String
The name of the step in the component document that failed.
525 526 527 528 529 530 531 532 533 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 525 class ComponentFailureContext < Struct.new( :component_arn, :phase_name, :step_name, :action, :error_message) SENSITIVE = [] include Aws::Structure end |