libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ImageBuilder.Types.InstanceConfiguration

Description

 
Synopsis

Documentation

data InstanceConfiguration Source #

Defines a custom base AMI and block device mapping configurations of an instance used for building and testing container images.

See: newInstanceConfiguration smart constructor.

Constructors

InstanceConfiguration' 

Fields

  • image :: Maybe Text

    The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.

  • blockDeviceMappings :: Maybe [InstanceBlockDeviceMapping]

    Defines the block devices to attach for building an instance from this Image Builder AMI.

Instances

Instances details
Eq InstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InstanceConfiguration

Read InstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InstanceConfiguration

Show InstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InstanceConfiguration

Generic InstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InstanceConfiguration

Associated Types

type Rep InstanceConfiguration :: Type -> Type #

NFData InstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InstanceConfiguration

Methods

rnf :: InstanceConfiguration -> () #

Hashable InstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InstanceConfiguration

ToJSON InstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InstanceConfiguration

FromJSON InstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InstanceConfiguration

type Rep InstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InstanceConfiguration

type Rep InstanceConfiguration = D1 ('MetaData "InstanceConfiguration" "Amazonka.ImageBuilder.Types.InstanceConfiguration" "libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder" 'False) (C1 ('MetaCons "InstanceConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "image") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "blockDeviceMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InstanceBlockDeviceMapping]))))

newInstanceConfiguration :: InstanceConfiguration Source #

Create a value of InstanceConfiguration 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:image:InstanceConfiguration', instanceConfiguration_image - The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.

$sel:blockDeviceMappings:InstanceConfiguration', instanceConfiguration_blockDeviceMappings - Defines the block devices to attach for building an instance from this Image Builder AMI.

instanceConfiguration_image :: Lens' InstanceConfiguration (Maybe Text) Source #

The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.

instanceConfiguration_blockDeviceMappings :: Lens' InstanceConfiguration (Maybe [InstanceBlockDeviceMapping]) Source #

Defines the block devices to attach for building an instance from this Image Builder AMI.