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
    throughput: 1,
  },
  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)


3702
3703
3704
3705
3706
3707
3708
3709
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3702

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.



3702
3703
3704
3705
3706
3707
3708
3709
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3702

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 base image.

Returns:

  • (String)


3702
3703
3704
3705
3706
3707
3708
3709
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3702

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)


3702
3703
3704
3705
3706
3707
3708
3709
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3702

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