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
}

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)


1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 1977

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

#encryptedBoolean

Use to configure device encryption.

Returns:

  • (Boolean)


1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 1977

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

#iopsInteger

Use to configure device IOPS.

Returns:

  • (Integer)


1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 1977

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

#kms_key_idString

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

Returns:

  • (String)


1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 1977

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

#snapshot_idString

The snapshot that defines the device contents.

Returns:

  • (String)


1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 1977

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

#volume_sizeInteger

Use to override the device's volume size.

Returns:

  • (Integer)


1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 1977

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

#volume_typeString

Use to override the device's volume type.

Returns:

  • (String)


1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 1977

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