You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Imagebuilder::Types::InstanceBlockDeviceMapping

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing InstanceBlockDeviceMapping as input to an Aws::Client method, you can use a vanilla Hash:

{
  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, sc1, st1
  },
  virtual_name: "NonEmptyString",
  no_device: "EmptyString",
}

Defines block device mappings for the instance used to configure your image.

Instance Attribute Summary collapse

Instance Attribute Details

#device_nameString

The device to which these mappings apply.

Returns:

  • (String)

    The device to which these mappings apply.

#ebsTypes::EbsInstanceBlockDeviceSpecification

Use to manage Amazon EBS-specific configuration for this mapping.

Returns:

#no_deviceString

Use to remove a mapping from the parent image.

Returns:

  • (String)

    Use to remove a mapping from the parent image.

#virtual_nameString

Use to manage instance ephemeral devices.

Returns:

  • (String)

    Use to manage instance ephemeral devices.