Class: Aws::Imagebuilder::Types::ImageTestsConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb

Overview

Note:

When making an API call, you may pass ImageTestsConfiguration data as a hash:

{
  image_tests_enabled: false,
  timeout_minutes: 1,
}

Configure image tests for your pipeline build. Tests run after building the image, to verify that the AMI or container image is valid before distributing it.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#image_tests_enabledBoolean

Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution.

Returns:

  • (Boolean)


3518
3519
3520
3521
3522
3523
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3518

class ImageTestsConfiguration < Struct.new(
  :image_tests_enabled,
  :timeout_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#timeout_minutesInteger

The maximum time in minutes that tests are permitted to run.

Returns:

  • (Integer)


3518
3519
3520
3521
3522
3523
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3518

class ImageTestsConfiguration < Struct.new(
  :image_tests_enabled,
  :timeout_minutes)
  SENSITIVE = []
  include Aws::Structure
end