class Aws::Imagebuilder::Types::InstanceConfiguration

Defines a custom source AMI and block device mapping configurations of an instance used for building and testing container images.

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

data as a hash:

    {
      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",
        },
      ],
    }

@!attribute [rw] image

The AMI ID to use as the base image for a container build and test
instance. If not specified, Image Builder will use the appropriate
ECS-optimized AMI as a base image.
@return [String]

@!attribute [rw] block_device_mappings

Defines the block devices to attach for building an instance from
this Image Builder AMI.
@return [Array<Types::InstanceBlockDeviceMapping>]

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

Constants

SENSITIVE