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.ImageRecipe

Description

 
Synopsis

Documentation

data ImageRecipe Source #

An image recipe.

See: newImageRecipe smart constructor.

Constructors

ImageRecipe' 

Fields

Instances

Instances details
Eq ImageRecipe Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageRecipe

Read ImageRecipe Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageRecipe

Show ImageRecipe Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageRecipe

Generic ImageRecipe Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageRecipe

Associated Types

type Rep ImageRecipe :: Type -> Type #

NFData ImageRecipe Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageRecipe

Methods

rnf :: ImageRecipe -> () #

Hashable ImageRecipe Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageRecipe

FromJSON ImageRecipe Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageRecipe

type Rep ImageRecipe Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ImageRecipe

type Rep ImageRecipe = D1 ('MetaData "ImageRecipe" "Amazonka.ImageBuilder.Types.ImageRecipe" "libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder" 'False) (C1 ('MetaCons "ImageRecipe'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "components") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty ComponentConfiguration))) :*: (S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Platform)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "additionalInstanceConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AdditionalInstanceConfiguration)) :*: S1 ('MetaSel ('Just "workingDirectory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "parentImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "dateCreated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageType)) :*: S1 ('MetaSel ('Just "blockDeviceMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InstanceBlockDeviceMapping]))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))))

newImageRecipe :: ImageRecipe Source #

Create a value of ImageRecipe 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:components:ImageRecipe', imageRecipe_components - The components of the image recipe.

$sel:platform:ImageRecipe', imageRecipe_platform - The platform of the image recipe.

$sel:arn:ImageRecipe', imageRecipe_arn - The Amazon Resource Name (ARN) of the image recipe.

$sel:additionalInstanceConfiguration:ImageRecipe', imageRecipe_additionalInstanceConfiguration - Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration. Instance configuration adds a layer of control over those instances. You can define settings and add scripts to run when an instance is launched from your AMI.

$sel:workingDirectory:ImageRecipe', imageRecipe_workingDirectory - The working directory to be used during build and test workflows.

$sel:parentImage:ImageRecipe', imageRecipe_parentImage - The base image of the image recipe.

$sel:owner:ImageRecipe', imageRecipe_owner - The owner of the image recipe.

$sel:dateCreated:ImageRecipe', imageRecipe_dateCreated - The date on which this image recipe was created.

$sel:name:ImageRecipe', imageRecipe_name - The name of the image recipe.

$sel:version:ImageRecipe', imageRecipe_version - The version of the image recipe.

$sel:type':ImageRecipe', imageRecipe_type - Specifies which type of image is created by the recipe - an AMI or a container image.

$sel:blockDeviceMappings:ImageRecipe', imageRecipe_blockDeviceMappings - The block device mappings to apply when creating images from this recipe.

$sel:description:ImageRecipe', imageRecipe_description - The description of the image recipe.

$sel:tags:ImageRecipe', imageRecipe_tags - The tags of the image recipe.

imageRecipe_platform :: Lens' ImageRecipe (Maybe Platform) Source #

The platform of the image recipe.

imageRecipe_arn :: Lens' ImageRecipe (Maybe Text) Source #

The Amazon Resource Name (ARN) of the image recipe.

imageRecipe_additionalInstanceConfiguration :: Lens' ImageRecipe (Maybe AdditionalInstanceConfiguration) Source #

Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration. Instance configuration adds a layer of control over those instances. You can define settings and add scripts to run when an instance is launched from your AMI.

imageRecipe_workingDirectory :: Lens' ImageRecipe (Maybe Text) Source #

The working directory to be used during build and test workflows.

imageRecipe_parentImage :: Lens' ImageRecipe (Maybe Text) Source #

The base image of the image recipe.

imageRecipe_owner :: Lens' ImageRecipe (Maybe Text) Source #

The owner of the image recipe.

imageRecipe_dateCreated :: Lens' ImageRecipe (Maybe Text) Source #

The date on which this image recipe was created.

imageRecipe_name :: Lens' ImageRecipe (Maybe Text) Source #

The name of the image recipe.

imageRecipe_version :: Lens' ImageRecipe (Maybe Text) Source #

The version of the image recipe.

imageRecipe_type :: Lens' ImageRecipe (Maybe ImageType) Source #

Specifies which type of image is created by the recipe - an AMI or a container image.

imageRecipe_blockDeviceMappings :: Lens' ImageRecipe (Maybe [InstanceBlockDeviceMapping]) Source #

The block device mappings to apply when creating images from this recipe.

imageRecipe_description :: Lens' ImageRecipe (Maybe Text) Source #

The description of the image recipe.

imageRecipe_tags :: Lens' ImageRecipe (Maybe (HashMap Text Text)) Source #

The tags of the image recipe.