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

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 InstanceBlockDeviceMapping data as a 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, gp3, sc1, st1
  },
  virtual_name: "NonEmptyString",
  no_device: "EmptyString",
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#device_nameString

The device to which these mappings apply.

Returns:

  • (String)


3266
3267
3268
3269
3270
3271
3272
3273
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3266

class InstanceBlockDeviceMapping < Struct.new(
  :device_name,
  :ebs,
  :virtual_name,
  :no_device)
  SENSITIVE = []
  include Aws::Structure
end

#ebsTypes::EbsInstanceBlockDeviceSpecification

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



3266
3267
3268
3269
3270
3271
3272
3273
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3266

class InstanceBlockDeviceMapping < Struct.new(
  :device_name,
  :ebs,
  :virtual_name,
  :no_device)
  SENSITIVE = []
  include Aws::Structure
end

#no_deviceString

Use to remove a mapping from the parent image.

Returns:

  • (String)


3266
3267
3268
3269
3270
3271
3272
3273
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3266

class InstanceBlockDeviceMapping < Struct.new(
  :device_name,
  :ebs,
  :virtual_name,
  :no_device)
  SENSITIVE = []
  include Aws::Structure
end

#virtual_nameString

Use to manage instance ephemeral devices.

Returns:

  • (String)


3266
3267
3268
3269
3270
3271
3272
3273
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3266

class InstanceBlockDeviceMapping < Struct.new(
  :device_name,
  :ebs,
  :virtual_name,
  :no_device)
  SENSITIVE = []
  include Aws::Structure
end