class Aws::Imagebuilder::Types::CreateContainerRecipeRequest

@note When making an API call, you may pass CreateContainerRecipeRequest

data as a hash:

    {
      container_type: "DOCKER", # required, accepts DOCKER
      name: "ResourceName", # required
      description: "NonEmptyString",
      semantic_version: "VersionNumber", # required
      components: [ # required
        {
          component_arn: "ComponentVersionArnOrBuildVersionArn", # required
          parameters: [
            {
              name: "ComponentParameterName", # required
              value: ["ComponentParameterValue"], # required
            },
          ],
        },
      ],
      instance_configuration: {
        image: "NonEmptyString",
        block_device_mappings: [
          {
            device_name: "NonEmptyString",
            ebs: {
              encrypted: false,
              delete_on_termination: false,
              iops: 1,
              kms_key_id: "NonEmptyString",
              snapshot_id: "NonEmptyString",
              volume_size: 1,
              volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
            },
            virtual_name: "NonEmptyString",
            no_device: "EmptyString",
          },
        ],
      },
      dockerfile_template_data: "InlineDockerFileTemplate",
      dockerfile_template_uri: "Uri",
      platform_override: "Windows", # accepts Windows, Linux
      image_os_version_override: "NonEmptyString",
      parent_image: "NonEmptyString", # required
      tags: {
        "TagKey" => "TagValue",
      },
      working_directory: "NonEmptyString",
      target_repository: { # required
        service: "ECR", # required, accepts ECR
        repository_name: "NonEmptyString", # required
      },
      kms_key_id: "NonEmptyString",
      client_token: "ClientToken", # required
    }

@!attribute [rw] container_type

The type of container to create.
@return [String]

@!attribute [rw] name

The name of the container recipe.
@return [String]

@!attribute [rw] description

The description of the container recipe.
@return [String]

@!attribute [rw] semantic_version

The semantic version of the container recipe. This version follows
the semantic version syntax.

<note markdown="1"> The semantic version has four nodes:
&lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. 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, and that is not open for updates.

 **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.

 </note>
@return [String]

@!attribute [rw] components

Components for build and test that are included in the container
recipe.
@return [Array<Types::ComponentConfiguration>]

@!attribute [rw] instance_configuration

A group of options that can be used to configure an instance for
building and testing container images.
@return [Types::InstanceConfiguration]

@!attribute [rw] dockerfile_template_data

The Dockerfile template used to build your image as an inline data
blob.
@return [String]

@!attribute [rw] dockerfile_template_uri

The Amazon S3 URI for the Dockerfile that will be used to build your
container image.
@return [String]

@!attribute [rw] platform_override

Specifies the operating system platform when you use a custom source
image.
@return [String]

@!attribute [rw] image_os_version_override

Specifies the operating system version for the source image.
@return [String]

@!attribute [rw] parent_image

The source image for the container recipe.
@return [String]

@!attribute [rw] tags

Tags that are attached to the container recipe.
@return [Hash<String,String>]

@!attribute [rw] working_directory

The working directory for use during build and test workflows.
@return [String]

@!attribute [rw] target_repository

The destination repository for the container image.
@return [Types::TargetContainerRepository]

@!attribute [rw] kms_key_id

Identifies which KMS key is used to encrypt the container image.
@return [String]

@!attribute [rw] client_token

The client token used to make this request idempotent.

**A suitable default value is auto-generated.** You should normally
not need to pass this option.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateContainerRecipeRequest AWS API Documentation

Constants

SENSITIVE