/AWS1/CL_IMGCONTAINERRECIPE¶
A container recipe.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_arn TYPE /AWS1/IMGIMAGEBUILDERARN /AWS1/IMGIMAGEBUILDERARN¶
The Amazon Resource Name (ARN) of the container recipe.
Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows:
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.
Version ARNs have only the first three nodes:
. . Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.
iv_containertype TYPE /AWS1/IMGCONTAINERTYPE /AWS1/IMGCONTAINERTYPE¶
Specifies the type of container, such as Docker.
iv_name TYPE /AWS1/IMGRESOURCENAME /AWS1/IMGRESOURCENAME¶
The name of the container recipe.
iv_description TYPE /AWS1/IMGNONEMPTYSTRING /AWS1/IMGNONEMPTYSTRING¶
The description of the container recipe.
iv_platform TYPE /AWS1/IMGPLATFORM /AWS1/IMGPLATFORM¶
The system platform for the container, such as Windows or Linux.
iv_owner TYPE /AWS1/IMGNONEMPTYSTRING /AWS1/IMGNONEMPTYSTRING¶
The owner of the container recipe.
iv_version TYPE /AWS1/IMGVERSIONNUMBER /AWS1/IMGVERSIONNUMBER¶
The semantic version of the container recipe.
The semantic version has four nodes:
. . / . 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.
it_components TYPE /AWS1/CL_IMGCOMPONENTCONF=>TT_COMPONENTCONFIGURATIONLIST TT_COMPONENTCONFIGURATIONLIST¶
Build and test components that are included in the container recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
io_instanceconfiguration TYPE REF TO /AWS1/CL_IMGINSTANCECONF /AWS1/CL_IMGINSTANCECONF¶
A group of options that can be used to configure an instance for building and testing container images.
iv_dockerfiletemplatedata TYPE /AWS1/IMGDOCKERFILETEMPLATE /AWS1/IMGDOCKERFILETEMPLATE¶
Dockerfiles are text documents that are used to build Docker containers, and ensure that they contain all of the elements required by the application running inside. The template data consists of contextual variables where Image Builder places build information or scripts, based on your container image recipe.
iv_kmskeyid TYPE /AWS1/IMGNONEMPTYSTRING /AWS1/IMGNONEMPTYSTRING¶
The Amazon Resource Name (ARN) that uniquely identifies which KMS key is used to encrypt the container image for distribution to the target Region. This can be either the Key ARN or the Alias ARN. For more information, see Key identifiers (KeyId) in the Key Management Service Developer Guide.
iv_encrypted TYPE /AWS1/IMGNULLABLEBOOLEAN /AWS1/IMGNULLABLEBOOLEAN¶
A flag that indicates if the target container is encrypted.
iv_parentimage TYPE /AWS1/IMGNONEMPTYSTRING /AWS1/IMGNONEMPTYSTRING¶
The base image for customizations specified in the container recipe. This can contain an Image Builder image resource ARN or a container image URI, for example
amazonlinux:latest.
iv_datecreated TYPE /AWS1/IMGDATETIME /AWS1/IMGDATETIME¶
The date when this container recipe was created.
it_tags TYPE /AWS1/CL_IMGTAGMAP_W=>TT_TAGMAP TT_TAGMAP¶
Tags that are attached to the container recipe.
iv_workingdirectory TYPE /AWS1/IMGNONEMPTYSTRING /AWS1/IMGNONEMPTYSTRING¶
The working directory for use during build and test workflows.
io_targetrepository TYPE REF TO /AWS1/CL_IMGTGTCONTAINERREPO00 /AWS1/CL_IMGTGTCONTAINERREPO00¶
The destination repository for the container image.
Queryable Attributes¶
arn¶
The Amazon Resource Name (ARN) of the container recipe.
Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows:
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.
Version ARNs have only the first three nodes:
. . Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ARN() |
Getter for ARN, with configurable default |
ASK_ARN() |
Getter for ARN w/ exceptions if field has no value |
HAS_ARN() |
Determine if ARN has a value |
containerType¶
Specifies the type of container, such as Docker.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONTAINERTYPE() |
Getter for CONTAINERTYPE, with configurable default |
ASK_CONTAINERTYPE() |
Getter for CONTAINERTYPE w/ exceptions if field has no value |
HAS_CONTAINERTYPE() |
Determine if CONTAINERTYPE has a value |
name¶
The name of the container recipe.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
description¶
The description of the container recipe.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DESCRIPTION() |
Getter for DESCRIPTION, with configurable default |
ASK_DESCRIPTION() |
Getter for DESCRIPTION w/ exceptions if field has no value |
HAS_DESCRIPTION() |
Determine if DESCRIPTION has a value |
platform¶
The system platform for the container, such as Windows or Linux.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PLATFORM() |
Getter for PLATFORM, with configurable default |
ASK_PLATFORM() |
Getter for PLATFORM w/ exceptions if field has no value |
HAS_PLATFORM() |
Determine if PLATFORM has a value |
owner¶
The owner of the container recipe.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OWNER() |
Getter for OWNER, with configurable default |
ASK_OWNER() |
Getter for OWNER w/ exceptions if field has no value |
HAS_OWNER() |
Determine if OWNER has a value |
version¶
The semantic version of the container recipe.
The semantic version has four nodes:
. . / . 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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VERSION() |
Getter for VERSION, with configurable default |
ASK_VERSION() |
Getter for VERSION w/ exceptions if field has no value |
HAS_VERSION() |
Determine if VERSION has a value |
components¶
Build and test components that are included in the container recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_COMPONENTS() |
Getter for COMPONENTS, with configurable default |
ASK_COMPONENTS() |
Getter for COMPONENTS w/ exceptions if field has no value |
HAS_COMPONENTS() |
Determine if COMPONENTS has a value |
instanceConfiguration¶
A group of options that can be used to configure an instance for building and testing container images.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INSTANCECONFIGURATION() |
Getter for INSTANCECONFIGURATION |
dockerfileTemplateData¶
Dockerfiles are text documents that are used to build Docker containers, and ensure that they contain all of the elements required by the application running inside. The template data consists of contextual variables where Image Builder places build information or scripts, based on your container image recipe.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DOCKERFILETEMPLATEDATA() |
Getter for DOCKERFILETEMPLATEDATA, with configurable default |
ASK_DOCKERFILETEMPLATEDATA() |
Getter for DOCKERFILETEMPLATEDATA w/ exceptions if field has |
HAS_DOCKERFILETEMPLATEDATA() |
Determine if DOCKERFILETEMPLATEDATA has a value |
kmsKeyId¶
The Amazon Resource Name (ARN) that uniquely identifies which KMS key is used to encrypt the container image for distribution to the target Region. This can be either the Key ARN or the Alias ARN. For more information, see Key identifiers (KeyId) in the Key Management Service Developer Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_KMSKEYID() |
Getter for KMSKEYID, with configurable default |
ASK_KMSKEYID() |
Getter for KMSKEYID w/ exceptions if field has no value |
HAS_KMSKEYID() |
Determine if KMSKEYID has a value |
encrypted¶
A flag that indicates if the target container is encrypted.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENCRYPTED() |
Getter for ENCRYPTED, with configurable default |
ASK_ENCRYPTED() |
Getter for ENCRYPTED w/ exceptions if field has no value |
HAS_ENCRYPTED() |
Determine if ENCRYPTED has a value |
parentImage¶
The base image for customizations specified in the container recipe. This can contain an Image Builder image resource ARN or a container image URI, for example
amazonlinux:latest.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PARENTIMAGE() |
Getter for PARENTIMAGE, with configurable default |
ASK_PARENTIMAGE() |
Getter for PARENTIMAGE w/ exceptions if field has no value |
HAS_PARENTIMAGE() |
Determine if PARENTIMAGE has a value |
dateCreated¶
The date when this container recipe was created.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DATECREATED() |
Getter for DATECREATED, with configurable default |
ASK_DATECREATED() |
Getter for DATECREATED w/ exceptions if field has no value |
HAS_DATECREATED() |
Determine if DATECREATED has a value |
tags¶
Tags that are attached to the container recipe.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TAGS() |
Getter for TAGS, with configurable default |
ASK_TAGS() |
Getter for TAGS w/ exceptions if field has no value |
HAS_TAGS() |
Determine if TAGS has a value |
workingDirectory¶
The working directory for use during build and test workflows.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_WORKINGDIRECTORY() |
Getter for WORKINGDIRECTORY, with configurable default |
ASK_WORKINGDIRECTORY() |
Getter for WORKINGDIRECTORY w/ exceptions if field has no va |
HAS_WORKINGDIRECTORY() |
Determine if WORKINGDIRECTORY has a value |
targetRepository¶
The destination repository for the container image.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TARGETREPOSITORY() |
Getter for TARGETREPOSITORY |