Values.CreateImageRequestSourceCreates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration. You must specify exactly one recipe for your image, using either a ContainerRecipeArn or an ImageRecipeArn.
type nonrec t = {imageRecipeArn : ImageRecipeArn.t option;The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
*)containerRecipeArn : ContainerRecipeArn.t option;The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
*)distributionConfigurationArn : DistributionConfigurationArn.t option;The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
*)infrastructureConfigurationArn : InfrastructureConfigurationArn.t;The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.
*)imageTestsConfiguration : ImageTestsConfiguration.t option;The image tests configuration of the image.
*)enhancedImageMetadataEnabled : NullableBoolean.t option;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.
*)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.
*)imageScanningConfiguration : ImageScanningConfiguration.t option;Contains settings for vulnerability scans.
*)workflows : WorkflowConfigurationList.t option;Contains an array of workflow configuration objects.
*)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.
*)loggingConfiguration : ImageLoggingConfiguration.t option;Define logging configuration for the image build process.
*)}val make :
?imageRecipeArn:??? ->
?containerRecipeArn:??? ->
?distributionConfigurationArn:??? ->
?imageTestsConfiguration:??? ->
?enhancedImageMetadataEnabled:??? ->
?tags:??? ->
?imageScanningConfiguration:??? ->
?workflows:??? ->
?executionRole:??? ->
?loggingConfiguration:??? ->
infrastructureConfigurationArn:InfrastructureConfigurationArn.t ->
clientToken:ClientToken.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of NullableBoolean.t
| `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 ImageRecipeArn.t
| `Structure of
(string
* [> `Boolean of NullableBoolean.t
| `Integer of ImageTestsTimeoutMinutes.t
| `String of LogGroupName.t
| `Structure of
(string
* [> `List of [> `String of NonEmptyString.t ] list
| `String of NonEmptyString.t ])
list ])
list ])
list ]