Class: Aws::Imagebuilder::Types::EbsInstanceBlockDeviceSpecification

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 EbsInstanceBlockDeviceSpecification data as a hash:

{
  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,
}

Amazon EBS-specific block device mapping specifications.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#delete_on_terminationBoolean

Use to configure delete on termination of the associated device.

Returns:

  • (Boolean)


2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2301

class EbsInstanceBlockDeviceSpecification < Struct.new(
  :encrypted,
  :delete_on_termination,
  :iops,
  :kms_key_id,
  :snapshot_id,
  :volume_size,
  :volume_type,
  :throughput)
  SENSITIVE = []
  include Aws::Structure
end

#encryptedBoolean

Use to configure device encryption.

Returns:

  • (Boolean)


2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2301

class EbsInstanceBlockDeviceSpecification < Struct.new(
  :encrypted,
  :delete_on_termination,
  :iops,
  :kms_key_id,
  :snapshot_id,
  :volume_size,
  :volume_type,
  :throughput)
  SENSITIVE = []
  include Aws::Structure
end

#iopsInteger

Use to configure device IOPS.

Returns:

  • (Integer)


2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2301

class EbsInstanceBlockDeviceSpecification < Struct.new(
  :encrypted,
  :delete_on_termination,
  :iops,
  :kms_key_id,
  :snapshot_id,
  :volume_size,
  :volume_type,
  :throughput)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_idString

Use to configure the KMS key to use when encrypting the device.

Returns:

  • (String)


2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2301

class EbsInstanceBlockDeviceSpecification < Struct.new(
  :encrypted,
  :delete_on_termination,
  :iops,
  :kms_key_id,
  :snapshot_id,
  :volume_size,
  :volume_type,
  :throughput)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_idString

The snapshot that defines the device contents.

Returns:

  • (String)


2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2301

class EbsInstanceBlockDeviceSpecification < Struct.new(
  :encrypted,
  :delete_on_termination,
  :iops,
  :kms_key_id,
  :snapshot_id,
  :volume_size,
  :volume_type,
  :throughput)
  SENSITIVE = []
  include Aws::Structure
end

#throughputInteger

For GP3 volumes only – The throughput in MiB/s that the volume supports.

Returns:

  • (Integer)


2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2301

class EbsInstanceBlockDeviceSpecification < Struct.new(
  :encrypted,
  :delete_on_termination,
  :iops,
  :kms_key_id,
  :snapshot_id,
  :volume_size,
  :volume_type,
  :throughput)
  SENSITIVE = []
  include Aws::Structure
end

#volume_sizeInteger

Use to override the device's volume size.

Returns:

  • (Integer)


2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2301

class EbsInstanceBlockDeviceSpecification < Struct.new(
  :encrypted,
  :delete_on_termination,
  :iops,
  :kms_key_id,
  :snapshot_id,
  :volume_size,
  :volume_type,
  :throughput)
  SENSITIVE = []
  include Aws::Structure
end

#volume_typeString

Use to override the device's volume type.

Returns:

  • (String)


2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2301

class EbsInstanceBlockDeviceSpecification < Struct.new(
  :encrypted,
  :delete_on_termination,
  :iops,
  :kms_key_id,
  :snapshot_id,
  :volume_size,
  :volume_type,
  :throughput)
  SENSITIVE = []
  include Aws::Structure
end