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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#iopsInteger

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

Returns:

  • (Integer)


8046
8047
8048
8049
8050
8051
8052
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 8046

class VolumeSpecification < Struct.new(
  :volume_type,
  :iops,
  :size_in_gb)
  SENSITIVE = []
  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)


8046
8047
8048
8049
8050
8051
8052
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 8046

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

#volume_typeString

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

Returns:

  • (String)


8046
8047
8048
8049
8050
8051
8052
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 8046

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