amazonka-imagebuilder-2.0: Amazon EC2 Image Builder SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ImageBuilder.Types.ImageTestsConfiguration

Description

 
Synopsis

Documentation

data ImageTestsConfiguration Source #

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.

See: newImageTestsConfiguration smart constructor.

Constructors

ImageTestsConfiguration' 

Fields

  • imageTestsEnabled :: Maybe Bool

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

  • timeoutMinutes :: Maybe Natural

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

Instances

Instances details
FromJSON ImageTestsConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageTestsConfiguration

ToJSON ImageTestsConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageTestsConfiguration

Generic ImageTestsConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageTestsConfiguration

Associated Types

type Rep ImageTestsConfiguration :: Type -> Type #

Read ImageTestsConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageTestsConfiguration

Show ImageTestsConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageTestsConfiguration

NFData ImageTestsConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageTestsConfiguration

Methods

rnf :: ImageTestsConfiguration -> () #

Eq ImageTestsConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageTestsConfiguration

Hashable ImageTestsConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageTestsConfiguration

type Rep ImageTestsConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageTestsConfiguration

type Rep ImageTestsConfiguration = D1 ('MetaData "ImageTestsConfiguration" "Amazonka.ImageBuilder.Types.ImageTestsConfiguration" "amazonka-imagebuilder-2.0-BBLLjX59RW72O8VbQ3vKvH" 'False) (C1 ('MetaCons "ImageTestsConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "imageTestsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "timeoutMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newImageTestsConfiguration :: ImageTestsConfiguration Source #

Create a value of ImageTestsConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:imageTestsEnabled:ImageTestsConfiguration', imageTestsConfiguration_imageTestsEnabled - Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution.

$sel:timeoutMinutes:ImageTestsConfiguration', imageTestsConfiguration_timeoutMinutes - The maximum time in minutes that tests are permitted to run.

imageTestsConfiguration_imageTestsEnabled :: Lens' ImageTestsConfiguration (Maybe Bool) Source #

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

imageTestsConfiguration_timeoutMinutes :: Lens' ImageTestsConfiguration (Maybe Natural) Source #

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