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

Description

 
Synopsis

Documentation

data Image Source #

An Image Builder image. You must specify exactly one recipe for the image – either a container recipe (containerRecipe), which creates a container image, or an image recipe (imageRecipe), which creates an AMI.

See: newImage smart constructor.

Constructors

Image' 

Fields

  • imageRecipe :: Maybe ImageRecipe

    The image recipe used when creating the image.

  • state :: Maybe ImageState

    The state of the image.

  • platform :: Maybe Platform

    The platform of the image.

  • imageTestsConfiguration :: Maybe ImageTestsConfiguration

    The image tests configuration used when creating this image.

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the image.

    Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows:

    1. Versionless ARNs and Name ARNs do not include specific values in any of the nodes. The nodes are either left off entirely, or they are specified as wildcards, for example: x.x.x.
    2. Version ARNs have only the first three nodes: <major>.<minor>.<patch>
    3. Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.
  • enhancedImageMetadataEnabled :: Maybe Bool

    Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.

  • dateCreated :: Maybe Text

    The date on which this image was created.

  • containerRecipe :: Maybe ContainerRecipe

    The recipe that is used to create an Image Builder container image.

  • name :: Maybe Text

    The name of the image.

  • infrastructureConfiguration :: Maybe InfrastructureConfiguration

    The infrastructure used when creating this image.

  • version :: Maybe Text

    The semantic version of the image.

    The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.

    Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.

    Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.

    Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.

  • distributionConfiguration :: Maybe DistributionConfiguration

    The distribution configuration used when creating this image.

  • sourcePipelineArn :: Maybe Text

    The Amazon Resource Name (ARN) of the image pipeline that created this image.

  • type' :: Maybe ImageType

    Specifies whether this is an AMI or container image.

  • sourcePipelineName :: Maybe Text

    The name of the image pipeline that created this image.

  • outputResources :: Maybe OutputResources

    The output resources produced when creating this image.

  • osVersion :: Maybe Text

    The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.

  • tags :: Maybe (HashMap Text Text)

    The tags of the image.

Instances

Instances details
Eq Image Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.Image

Methods

(==) :: Image -> Image -> Bool #

(/=) :: Image -> Image -> Bool #

Read Image Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.Image

Show Image Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.Image

Methods

showsPrec :: Int -> Image -> ShowS #

show :: Image -> String #

showList :: [Image] -> ShowS #

Generic Image Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.Image

Associated Types

type Rep Image :: Type -> Type #

Methods

from :: Image -> Rep Image x #

to :: Rep Image x -> Image #

NFData Image Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.Image

Methods

rnf :: Image -> () #

Hashable Image Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.Image

Methods

hashWithSalt :: Int -> Image -> Int #

hash :: Image -> Int #

FromJSON Image Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.Image

type Rep Image Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.Image

type Rep Image = D1 ('MetaData "Image" "Amazonka.ImageBuilder.Types.Image" "libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder" 'False) (C1 ('MetaCons "Image'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "imageRecipe") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageRecipe)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageState))) :*: (S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Platform)) :*: S1 ('MetaSel ('Just "imageTestsConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageTestsConfiguration)))) :*: ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enhancedImageMetadataEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "dateCreated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "containerRecipe") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContainerRecipe)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "infrastructureConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InfrastructureConfiguration)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "distributionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DistributionConfiguration)) :*: S1 ('MetaSel ('Just "sourcePipelineArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageType)) :*: S1 ('MetaSel ('Just "sourcePipelineName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "outputResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputResources)) :*: (S1 ('MetaSel ('Just "osVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))))

newImage :: Image Source #

Create a value of Image 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:imageRecipe:Image', image_imageRecipe - The image recipe used when creating the image.

$sel:state:Image', image_state - The state of the image.

$sel:platform:Image', image_platform - The platform of the image.

$sel:imageTestsConfiguration:Image', image_imageTestsConfiguration - The image tests configuration used when creating this image.

$sel:arn:Image', image_arn - The Amazon Resource Name (ARN) of the image.

Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows:

  1. Versionless ARNs and Name ARNs do not include specific values in any of the nodes. The nodes are either left off entirely, or they are specified as wildcards, for example: x.x.x.
  2. Version ARNs have only the first three nodes: <major>.<minor>.<patch>
  3. Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.

$sel:enhancedImageMetadataEnabled:Image', image_enhancedImageMetadataEnabled - Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.

$sel:dateCreated:Image', image_dateCreated - The date on which this image was created.

$sel:containerRecipe:Image', image_containerRecipe - The recipe that is used to create an Image Builder container image.

$sel:name:Image', image_name - The name of the image.

$sel:infrastructureConfiguration:Image', image_infrastructureConfiguration - The infrastructure used when creating this image.

$sel:version:Image', image_version - The semantic version of the image.

The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.

Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.

Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.

Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.

$sel:distributionConfiguration:Image', image_distributionConfiguration - The distribution configuration used when creating this image.

$sel:sourcePipelineArn:Image', image_sourcePipelineArn - The Amazon Resource Name (ARN) of the image pipeline that created this image.

$sel:type':Image', image_type - Specifies whether this is an AMI or container image.

$sel:sourcePipelineName:Image', image_sourcePipelineName - The name of the image pipeline that created this image.

$sel:outputResources:Image', image_outputResources - The output resources produced when creating this image.

$sel:osVersion:Image', image_osVersion - The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.

$sel:tags:Image', image_tags - The tags of the image.

image_imageRecipe :: Lens' Image (Maybe ImageRecipe) Source #

The image recipe used when creating the image.

image_state :: Lens' Image (Maybe ImageState) Source #

The state of the image.

image_platform :: Lens' Image (Maybe Platform) Source #

The platform of the image.

image_imageTestsConfiguration :: Lens' Image (Maybe ImageTestsConfiguration) Source #

The image tests configuration used when creating this image.

image_arn :: Lens' Image (Maybe Text) Source #

The Amazon Resource Name (ARN) of the image.

Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows:

  1. Versionless ARNs and Name ARNs do not include specific values in any of the nodes. The nodes are either left off entirely, or they are specified as wildcards, for example: x.x.x.
  2. Version ARNs have only the first three nodes: <major>.<minor>.<patch>
  3. Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.

image_enhancedImageMetadataEnabled :: Lens' Image (Maybe Bool) Source #

Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.

image_dateCreated :: Lens' Image (Maybe Text) Source #

The date on which this image was created.

image_containerRecipe :: Lens' Image (Maybe ContainerRecipe) Source #

The recipe that is used to create an Image Builder container image.

image_name :: Lens' Image (Maybe Text) Source #

The name of the image.

image_infrastructureConfiguration :: Lens' Image (Maybe InfrastructureConfiguration) Source #

The infrastructure used when creating this image.

image_version :: Lens' Image (Maybe Text) Source #

The semantic version of the image.

The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.

Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.

Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.

Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.

image_distributionConfiguration :: Lens' Image (Maybe DistributionConfiguration) Source #

The distribution configuration used when creating this image.

image_sourcePipelineArn :: Lens' Image (Maybe Text) Source #

The Amazon Resource Name (ARN) of the image pipeline that created this image.

image_type :: Lens' Image (Maybe ImageType) Source #

Specifies whether this is an AMI or container image.

image_sourcePipelineName :: Lens' Image (Maybe Text) Source #

The name of the image pipeline that created this image.

image_outputResources :: Lens' Image (Maybe OutputResources) Source #

The output resources produced when creating this image.

image_osVersion :: Lens' Image (Maybe Text) Source #

The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.

image_tags :: Lens' Image (Maybe (HashMap Text Text)) Source #

The tags of the image.