Class: Aws::Imagebuilder::Types::InstanceBlockDeviceMapping
- Inherits:
-
Struct
- Object
- Struct
- Aws::Imagebuilder::Types::InstanceBlockDeviceMapping
- 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, 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
-
#device_name ⇒ String
The device to which these mappings apply.
-
#ebs ⇒ Types::EbsInstanceBlockDeviceSpecification
Use to manage Amazon EBS-specific configuration for this mapping.
-
#no_device ⇒ String
Use to remove a mapping from the parent image.
-
#virtual_name ⇒ String
Use to manage instance ephemeral devices.
Instance Attribute Details
#device_name ⇒ String
The device to which these mappings apply.
3182 3183 3184 3185 3186 3187 3188 3189 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3182 class InstanceBlockDeviceMapping < Struct.new( :device_name, :ebs, :virtual_name, :no_device) SENSITIVE = [] include Aws::Structure end |
#ebs ⇒ Types::EbsInstanceBlockDeviceSpecification
Use to manage Amazon EBS-specific configuration for this mapping.
3182 3183 3184 3185 3186 3187 3188 3189 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3182 class InstanceBlockDeviceMapping < Struct.new( :device_name, :ebs, :virtual_name, :no_device) SENSITIVE = [] include Aws::Structure end |
#no_device ⇒ String
Use to remove a mapping from the parent image.
3182 3183 3184 3185 3186 3187 3188 3189 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3182 class InstanceBlockDeviceMapping < Struct.new( :device_name, :ebs, :virtual_name, :no_device) SENSITIVE = [] include Aws::Structure end |
#virtual_name ⇒ String
Use to manage instance ephemeral devices.
3182 3183 3184 3185 3186 3187 3188 3189 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 3182 class InstanceBlockDeviceMapping < Struct.new( :device_name, :ebs, :virtual_name, :no_device) SENSITIVE = [] include Aws::Structure end |