| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ImageBuilder.Types.ImageRecipe
Description
Synopsis
- data ImageRecipe = ImageRecipe' {
- additionalInstanceConfiguration :: Maybe AdditionalInstanceConfiguration
- arn :: Maybe Text
- blockDeviceMappings :: Maybe [InstanceBlockDeviceMapping]
- components :: Maybe (NonEmpty ComponentConfiguration)
- dateCreated :: Maybe Text
- description :: Maybe Text
- name :: Maybe Text
- owner :: Maybe Text
- parentImage :: Maybe Text
- platform :: Maybe Platform
- tags :: Maybe (HashMap Text Text)
- type' :: Maybe ImageType
- version :: Maybe Text
- workingDirectory :: Maybe Text
- newImageRecipe :: ImageRecipe
- imageRecipe_additionalInstanceConfiguration :: Lens' ImageRecipe (Maybe AdditionalInstanceConfiguration)
- imageRecipe_arn :: Lens' ImageRecipe (Maybe Text)
- imageRecipe_blockDeviceMappings :: Lens' ImageRecipe (Maybe [InstanceBlockDeviceMapping])
- imageRecipe_components :: Lens' ImageRecipe (Maybe (NonEmpty ComponentConfiguration))
- imageRecipe_dateCreated :: Lens' ImageRecipe (Maybe Text)
- imageRecipe_description :: Lens' ImageRecipe (Maybe Text)
- imageRecipe_name :: Lens' ImageRecipe (Maybe Text)
- imageRecipe_owner :: Lens' ImageRecipe (Maybe Text)
- imageRecipe_parentImage :: Lens' ImageRecipe (Maybe Text)
- imageRecipe_platform :: Lens' ImageRecipe (Maybe Platform)
- imageRecipe_tags :: Lens' ImageRecipe (Maybe (HashMap Text Text))
- imageRecipe_type :: Lens' ImageRecipe (Maybe ImageType)
- imageRecipe_version :: Lens' ImageRecipe (Maybe Text)
- imageRecipe_workingDirectory :: Lens' ImageRecipe (Maybe 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: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:arn:ImageRecipe', imageRecipe_arn - The Amazon Resource Name (ARN) of the image recipe.
$sel:blockDeviceMappings:ImageRecipe', imageRecipe_blockDeviceMappings - The block device mappings to apply when creating images from this
recipe.
$sel:components:ImageRecipe', imageRecipe_components - The components of the image recipe.
$sel:dateCreated:ImageRecipe', imageRecipe_dateCreated - The date on which this image recipe was created.
$sel:description:ImageRecipe', imageRecipe_description - The description of the image recipe.
$sel:name:ImageRecipe', imageRecipe_name - The name of the image recipe.
$sel:owner:ImageRecipe', imageRecipe_owner - The owner of the image recipe.
$sel:parentImage:ImageRecipe', imageRecipe_parentImage - The base image of the image recipe.
$sel:platform:ImageRecipe', imageRecipe_platform - The platform of the image recipe.
$sel:tags:ImageRecipe', imageRecipe_tags - The tags 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:version:ImageRecipe', imageRecipe_version - The version of the image recipe.
$sel:workingDirectory:ImageRecipe', imageRecipe_workingDirectory - The working directory to be used during build and test workflows.
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_arn :: Lens' ImageRecipe (Maybe Text) Source #
The Amazon Resource Name (ARN) of the image recipe.
imageRecipe_blockDeviceMappings :: Lens' ImageRecipe (Maybe [InstanceBlockDeviceMapping]) Source #
The block device mappings to apply when creating images from this recipe.
imageRecipe_components :: Lens' ImageRecipe (Maybe (NonEmpty ComponentConfiguration)) Source #
The components of the image recipe.
imageRecipe_dateCreated :: Lens' ImageRecipe (Maybe Text) Source #
The date on which this image recipe was created.
imageRecipe_description :: Lens' ImageRecipe (Maybe Text) Source #
The description of the image recipe.
imageRecipe_name :: Lens' ImageRecipe (Maybe Text) Source #
The name of the image recipe.
imageRecipe_owner :: Lens' ImageRecipe (Maybe Text) Source #
The owner of the image recipe.
imageRecipe_parentImage :: Lens' ImageRecipe (Maybe Text) Source #
The base image of the image recipe.
imageRecipe_platform :: Lens' ImageRecipe (Maybe Platform) Source #
The platform of the image recipe.
imageRecipe_tags :: Lens' ImageRecipe (Maybe (HashMap Text Text)) Source #
The tags 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_version :: Lens' ImageRecipe (Maybe Text) Source #
The version of the image recipe.
imageRecipe_workingDirectory :: Lens' ImageRecipe (Maybe Text) Source #
The working directory to be used during build and test workflows.