You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emr/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)


5220
5221
5222
5223
5224
5225
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5220

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 - 1024. If the volume type is EBS-optimized, the minimum value is 10.

Returns:

  • (Integer)


5220
5221
5222
5223
5224
5225
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5220

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)


5220
5221
5222
5223
5224
5225
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5220

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