Class: Aws::Imagebuilder::Types::InstanceConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb

Overview

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#block_device_mappingsArray<Types::InstanceBlockDeviceMapping>

Defines the block devices to attach for building an instance from this Image Builder AMI.



3314
3315
3316
3317
3318
3319
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3314

class InstanceConfiguration < Struct.new(
  :image,
  :block_device_mappings)
  SENSITIVE = []
  include Aws::Structure
end

#imageString

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.

Returns:

  • (String)


3314
3315
3316
3317
3318
3319
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3314

class InstanceConfiguration < Struct.new(
  :image,
  :block_device_mappings)
  SENSITIVE = []
  include Aws::Structure
end