Module Values.ContainerRecipeSource

A container recipe.

Sourcetype nonrec t = {
  1. arn : ImageBuilderArn.t option;
    (*

    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: <major>.<minor>.<patch> Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.

    *)
  2. containerType : ContainerType.t option;
    (*

    Specifies the type of container, such as Docker.

    *)
  3. name : ResourceName.t option;
    (*

    The name of the container recipe.

    *)
  4. description : NonEmptyString.t option;
    (*

    The description of the container recipe.

    *)
  5. platform : Platform.t option;
    (*

    The system platform for the container, such as Windows or Linux.

    *)
  6. owner : NonEmptyString.t option;
    (*

    The owner of the container recipe.

    *)
  7. version : VersionNumber.t option;
    (*

    The semantic version of the container recipe. 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.

    *)
  8. components : ComponentConfigurationList.t option;
    (*

    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.

    *)
  9. instanceConfiguration : InstanceConfiguration.t option;
    (*

    A group of options that can be used to configure an instance for building and testing container images.

    *)
  10. dockerfileTemplateData : DockerFileTemplate.t option;
    (*

    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.

    *)
  11. kmsKeyId : NonEmptyString.t option;
    (*

    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.

    *)
  12. encrypted : NullableBoolean.t option;
    (*

    A flag that indicates if the target container is encrypted.

    *)
  13. parentImage : NonEmptyString.t option;
    (*

    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.

    *)
  14. dateCreated : DateTime.t option;
    (*

    The date when this container recipe was created.

    *)
  15. tags : TagMap.t option;
    (*

    Tags that are attached to the container recipe.

    *)
  16. workingDirectory : NonEmptyString.t option;
    (*

    The working directory for use during build and test workflows.

    *)
  17. targetRepository : TargetContainerRepository.t option;
    (*

    The destination repository for the container image.

    *)
}
Sourceval make : ?arn:??? -> ?containerType:??? -> ?name:??? -> ?description:??? -> ?platform:??? -> ?owner:??? -> ?version:??? -> ?components:??? -> ?instanceConfiguration:??? -> ?dockerfileTemplateData:??? -> ?kmsKeyId:??? -> ?encrypted:??? -> ?parentImage:??? -> ?dateCreated:??? -> ?tags:??? -> ?workingDirectory:??? -> ?targetRepository:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of NullableBoolean.t | `Enum 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 ]) list ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of ImageBuilderArn.t | `Structure of (string * [> `Enum of string | `List of [> `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 NonEmptyString.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t