Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.ImageBuilder.Types.ImageRecipe
Description
Synopsis
- data ImageRecipe = ImageRecipe' {
- components :: Maybe (NonEmpty ComponentConfiguration)
- platform :: Maybe Platform
- arn :: Maybe Text
- additionalInstanceConfiguration :: Maybe AdditionalInstanceConfiguration
- workingDirectory :: Maybe Text
- parentImage :: Maybe Text
- owner :: Maybe Text
- dateCreated :: Maybe Text
- name :: Maybe Text
- version :: Maybe Text
- type' :: Maybe ImageType
- blockDeviceMappings :: Maybe [InstanceBlockDeviceMapping]
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- newImageRecipe :: ImageRecipe
- imageRecipe_components :: Lens' ImageRecipe (Maybe (NonEmpty ComponentConfiguration))
- imageRecipe_platform :: Lens' ImageRecipe (Maybe Platform)
- imageRecipe_arn :: Lens' ImageRecipe (Maybe Text)
- imageRecipe_additionalInstanceConfiguration :: Lens' ImageRecipe (Maybe AdditionalInstanceConfiguration)
- imageRecipe_workingDirectory :: Lens' ImageRecipe (Maybe Text)
- imageRecipe_parentImage :: Lens' ImageRecipe (Maybe Text)
- imageRecipe_owner :: Lens' ImageRecipe (Maybe Text)
- imageRecipe_dateCreated :: Lens' ImageRecipe (Maybe Text)
- imageRecipe_name :: Lens' ImageRecipe (Maybe Text)
- imageRecipe_version :: Lens' ImageRecipe (Maybe Text)
- imageRecipe_type :: Lens' ImageRecipe (Maybe ImageType)
- imageRecipe_blockDeviceMappings :: Lens' ImageRecipe (Maybe [InstanceBlockDeviceMapping])
- imageRecipe_description :: Lens' ImageRecipe (Maybe Text)
- imageRecipe_tags :: Lens' ImageRecipe (Maybe (HashMap Text Text))
Documentation
data ImageRecipe Source #
An image recipe.
See: newImageRecipe
smart constructor.
Constructors
ImageRecipe' | |
Fields
|
Instances
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_components :: Lens' ImageRecipe (Maybe (NonEmpty ComponentConfiguration)) Source #
The components 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.