Values.ImageSourceAn Image Builder image resource that keeps track of all of the settings used to create, configure, and distribute output for that 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.
type nonrec t = {arn : ImageBuilderArn.t option;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: 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: <major>.<minor>.<patch> Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.
*)type_ : ImageType.t option;Specifies whether this image produces an AMI or a container image.
*)name : ResourceName.t option;The name of the image.
*)version : VersionNumber.t option;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.
*)platform : Platform.t option;The image operating system platform, such as Linux or Windows.
*)enhancedImageMetadataEnabled : NullableBoolean.t option;Indicates whether Image Builder collects additional information about the image, such as the operating system (OS) version and package list.
*)osVersion : OsVersion.t option;The operating system version for instances that launch from this image. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
*)state : ImageState.t option;The state of the image.
*)imageRecipe : ImageRecipe.t option;For images that distribute an AMI, this is the image recipe that Image Builder used to create the image. For container images, this is empty.
*)containerRecipe : ContainerRecipe.t option;For container images, this is the container recipe that Image Builder used to create the image. For images that distribute an AMI, this is empty.
*)sourcePipelineName : ResourceName.t option;The name of the image pipeline that created this image.
*)sourcePipelineArn : Arn.t option;The Amazon Resource Name (ARN) of the image pipeline that created this image.
*)infrastructureConfiguration : InfrastructureConfiguration.t option;The infrastructure that Image Builder used to create this image.
*)distributionConfiguration : DistributionConfiguration.t option;The distribution configuration that Image Builder used to create this image.
*)imageTestsConfiguration : ImageTestsConfiguration.t option;The image tests that ran when that Image Builder created this image.
*)dateCreated : DateTime.t option;The date on which Image Builder created this image.
*)outputResources : OutputResources.t option;The output resources that Image Builder produces for this image.
*)buildType : BuildType.t option;Indicates the type of build that created this image. The build can be initiated in the following ways: USER_INITIATED – A manual pipeline build request. SCHEDULED – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge. IMPORT – A VM import created the image to use as the base image for the recipe. IMPORT_ISO – An ISO disk import created the image.
*)imageSource : ImageSource.t option;The origin of the base image that Image Builder used to build this image.
*)scanState : ImageScanState.t option;Contains information about the current state of scans for this image.
*)imageScanningConfiguration : ImageScanningConfiguration.t option;Contains settings for vulnerability scans.
*)deprecationTime : DateTimeTimestamp.t option;The time when deprecation occurs for an image resource. This can be a past or future date.
*)lifecycleExecutionId : LifecycleExecutionId.t option;Identifies the last runtime instance of the lifecycle policy to take action on the image.
*)executionRole : RoleNameOrArn.t option;The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.
*)workflows : WorkflowConfigurationList.t option;Contains the build and test workflows that are associated with the image.
*)loggingConfiguration : ImageLoggingConfiguration.t option;The logging configuration that's defined for the image. Image Builder uses the defined settings to direct execution log output during image creation.
*)}val make :
?arn:??? ->
?type_:??? ->
?name:??? ->
?version:??? ->
?platform:??? ->
?enhancedImageMetadataEnabled:??? ->
?osVersion:??? ->
?state:??? ->
?imageRecipe:??? ->
?containerRecipe:??? ->
?sourcePipelineName:??? ->
?sourcePipelineArn:??? ->
?infrastructureConfiguration:??? ->
?distributionConfiguration:??? ->
?imageTestsConfiguration:??? ->
?dateCreated:??? ->
?outputResources:??? ->
?tags:??? ->
?buildType:??? ->
?imageSource:??? ->
?scanState:??? ->
?imageScanningConfiguration:??? ->
?deprecationTime:??? ->
?lifecycleExecutionId:??? ->
?executionRole:??? ->
?workflows:??? ->
?loggingConfiguration:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of NullableBoolean.t
| `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `List of
[> `String of WorkflowParameterValue.t ]
list
| `String of WorkflowParameterName.t ])
list ]
list
| `String of WorkflowVersionArnOrBuildVersionArn.t ])
list ]
list
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of ImageBuilderArn.t
| `Structure of
(string
* [> `Boolean of NullableBoolean.t
| `Enum of string
| `Integer of DistributionTimeoutMinutes.t
| `List of
[> `String of InstanceType.t
| `Structure of
(string
* [> `List of
[> `String of LicenseConfigurationArn.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Integer of MaxParallelLaunches.t
| `List of
[> `String of ComponentParameterValue.t ]
list
| `String of ComponentParameterName.t
| `Structure of
(string
* [> `Integer of TargetResourceCount.t
| `String of LaunchTemplateId.t ])
list ])
list ]
list
| `String of ComponentVersionArnOrBuildVersionArn.t
| `Structure of
(string
* [> `Boolean of NullableBoolean.t
| `Enum of string
| `Integer of EbsIopsInteger.t
| `List of [> `String of AccountId.t ] list
| `Map of
([> `String of TagKey.t ]
* [> `String of TagValue.t ])
list
| `String of NonEmptyString.t
| `Structure of
(string
* [> `Enum of string
| `List of [> `String of AccountId.t ] list
| `String of NonEmptyString.t ])
list ])
list ])
list ]
list
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of NonEmptyString.t
| `Structure of
(string
* [> `Enum of string
| `Integer of HttpPutResponseHopLimit.t
| `List of
[> `String of NonEmptyString.t
| `Structure of
(string
* [> `String of NonEmptyString.t
| `Structure of
(string
* [> `Boolean of NullableBoolean.t
| `Enum of string
| `Integer of EbsIopsInteger.t
| `String of NonEmptyString.t ])
list ])
list ]
list
| `String of UserDataOverride.t
| `Structure of
(string
* [> `Boolean of NullableBoolean.t
| `String of NonEmptyString.t ])
list ])
list ])
list
| `Timestamp of DateTimeTimestamp.t ])
list ]