Class: Aws::EMR::Types::AddInstanceFleetInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::AddInstanceFleetInput
- 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",
},
},
],
custom_ami_id: "XmlStringMaxLen256",
},
],
launch_specifications: {
spot_specification: {
timeout_duration_minutes: 1, # required
timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
block_duration_minutes: 1,
allocation_strategy: "capacity-optimized", # accepts capacity-optimized
},
on_demand_specification: {
allocation_strategy: "lowest-price", # required, accepts lowest-price
capacity_reservation_options: {
usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
capacity_reservation_preference: "open", # accepts open, none
capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
},
},
},
},
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#cluster_id ⇒ String
The unique identifier of the cluster.
-
#instance_fleet ⇒ Types::InstanceFleetConfig
Specifies the configuration of the instance fleet.
Instance Attribute Details
#cluster_id ⇒ String
The unique identifier of the cluster.
85 86 87 88 89 90 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 85 class AddInstanceFleetInput < Struct.new( :cluster_id, :instance_fleet) SENSITIVE = [] include Aws::Structure end |
#instance_fleet ⇒ Types::InstanceFleetConfig
Specifies the configuration of the instance fleet.
85 86 87 88 89 90 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 85 class AddInstanceFleetInput < Struct.new( :cluster_id, :instance_fleet) SENSITIVE = [] include Aws::Structure end |