Class: Aws::EMR::Types::VolumeSpecification

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-emr/types.rb

Overview

Note:

When making an API call, you may pass VolumeSpecification data as a hash:

{
  volume_type: "String", # required
  iops: 1,
  size_in_gb: 1, # required
}

EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#iopsInteger

The number of I/O operations per second (IOPS) that the volume supports.

Returns:

  • (Integer)


5348
5349
5350
5351
5352
5353
# File 'lib/aws-sdk-emr/types.rb', line 5348

class VolumeSpecification < Struct.new(
  :volume_type,
  :iops,
  :size_in_gb)
  include Aws::Structure
end

#size_in_gbInteger

The volume size, in gibibytes (GiB). This can be a number from 1 -

  1. If the volume type is EBS-optimized, the minimum value is 10.

Returns:

  • (Integer)


5348
5349
5350
5351
5352
5353
# File 'lib/aws-sdk-emr/types.rb', line 5348

class VolumeSpecification < Struct.new(
  :volume_type,
  :iops,
  :size_in_gb)
  include Aws::Structure
end

#volume_typeString

The volume type. Volume types supported are gp2, io1, standard.

Returns:

  • (String)


5348
5349
5350
5351
5352
5353
# File 'lib/aws-sdk-emr/types.rb', line 5348

class VolumeSpecification < Struct.new(
  :volume_type,
  :iops,
  :size_in_gb)
  include Aws::Structure
end