Class: Aws::Imagebuilder::Types::ComponentFailureContext

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#action ⇒ String

The action that the failed step runs, for example ExecuteBash.

Returns:

  • (String)


551
552
553
554
555
556
557
558
559
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 551

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.

Returns:

  • (String)


551
552
553
554
555
556
557
558
559
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 551

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.

Returns:

  • (String)


551
552
553
554
555
556
557
558
559
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 551

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.

Returns:

  • (String)


551
552
553
554
555
556
557
558
559
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 551

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.

Returns:

  • (String)


551
552
553
554
555
556
557
558
559
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 551

class ComponentFailureContext < Struct.new(
  :component_arn,
  :phase_name,
  :step_name,
  :action,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end