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

#actionString

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

Returns:

  • (String)


499
500
501
502
503
504
505
506
507
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 499

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

#component_arnString

The Amazon Resource Name (ARN) of the component build version that failed.

Returns:

  • (String)


499
500
501
502
503
504
505
506
507
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 499

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

#error_messageString

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)


499
500
501
502
503
504
505
506
507
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 499

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

#phase_nameString

The name of the phase in the component document where the failure occurred, such as build, validate, or test.

Returns:

  • (String)


499
500
501
502
503
504
505
506
507
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 499

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

#step_nameString

The name of the step in the component document that failed.

Returns:

  • (String)


499
500
501
502
503
504
505
506
507
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 499

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