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

Class: Aws::EMR::Types::AddInstanceFleetInput

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

{
  cluster_id: "XmlStringMaxLen256", # required
  instance_fleet: { # required
    name: "XmlStringMaxLen256",
    instance_fleet_type: "MASTER", # required, accepts MASTER, CORE, TASK
    target_on_demand_capacity: 1,
    target_spot_capacity: 1,
    instance_type_configs: [
      {
        instance_type: "InstanceType", # required
        weighted_capacity: 1,
        bid_price: "XmlStringMaxLen256",
        bid_price_as_percentage_of_on_demand_price: 1.0,
        ebs_configuration: {
          ebs_block_device_configs: [
            {
              volume_specification: { # required
                volume_type: "String", # required
                iops: 1,
                size_in_gb: 1, # required
              },
              volumes_per_instance: 1,
            },
          ],
          ebs_optimized: false,
        },
        configurations: [
          {
            classification: "String",
            configurations: {
              # recursive ConfigurationList
            },
            properties: {
              "String" => "String",
            },
          },
        ],
      },
    ],
    launch_specifications: {
      spot_specification: { # required
        timeout_duration_minutes: 1, # required
        timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
        block_duration_minutes: 1,
      },
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_idString

The unique identifier of the cluster.

Returns:

  • (String)


73
74
75
76
77
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 73

class AddInstanceFleetInput < Struct.new(
  :cluster_id,
  :instance_fleet)
  include Aws::Structure
end

#instance_fleetTypes::InstanceFleetConfig

Specifies the configuration of the instance fleet.



73
74
75
76
77
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 73

class AddInstanceFleetInput < Struct.new(
  :cluster_id,
  :instance_fleet)
  include Aws::Structure
end