Values.CreateImageRecipeRequestSourceCreates a new image recipe. Image recipes define how images are configured, tested, and assessed.
type nonrec t = {name : ResourceName.t;The name of the image recipe.
*)description : NonEmptyString.t option;The description of the image recipe.
*)semanticVersion : WildcardVersionNumber.t;The semantic version of the image recipe. This version follows the semantic version syntax. 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.
*)components : ComponentConfigurationList.t option;The components included in the image recipe.
*)parentImage : NonEmptyString.t;The base image for customizations specified in the image recipe. You can specify the parent image using one of the following options: AMI ID Image Builder image Amazon Resource Name (ARN) Amazon Web Services Systems Manager (SSM) Parameter Store Parameter, prefixed by ssm:, followed by the parameter name or ARN. Amazon Web Services Marketplace product ID If you enter an AMI ID or an SSM parameter that contains the AMI ID, you must have access to the AMI, and the AMI must be in the source Region.
*)blockDeviceMappings : InstanceBlockDeviceMappings.t option;The block device mappings of the image recipe.
*)workingDirectory : NonEmptyString.t option;The working directory used during build and test workflows.
*)additionalInstanceConfiguration : AdditionalInstanceConfiguration.t option;Specify additional settings and launch scripts for your build instances.
*)amiTags : TagMap.t option;Tags that are applied to the AMI that Image Builder creates during the Build phase prior to image distribution.
*)clientToken : ClientToken.t;Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
*)}val make :
?description:??? ->
?components:??? ->
?blockDeviceMappings:??? ->
?tags:??? ->
?workingDirectory:??? ->
?additionalInstanceConfiguration:??? ->
?amiTags:??? ->
name:ResourceName.t ->
semanticVersion:WildcardVersionNumber.t ->
parentImage:NonEmptyString.t ->
clientToken:ClientToken.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `List of
[> `String of
ComponentParameterValue.t ]
list
| `String of ComponentParameterName.t ])
list ]
list
| `String of ComponentVersionArnOrBuildVersionArn.t
| `Structure of
(string
* [> `Boolean of NullableBoolean.t
| `Enum of string
| `Integer of EbsIopsInteger.t
| `String of NonEmptyString.t ])
list ])
list ]
list
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of ResourceName.t
| `Structure of
(string
* [> `String of UserDataOverride.t
| `Structure of
(string * [> `Boolean of NullableBoolean.t ]) list ])
list ])
list ]