Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::EMR::Types::SpotResizingSpecification

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

Overview

The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allocation_strategyString

Specifies the allocation strategy to use to launch Spot instances during a resize. If you run Amazon EMR releases 6.9.0 or higher, the default is price-capacity-optimized. If you run Amazon EMR releases 6.8.0 or lower, the default is capacity-optimized.

Returns:

  • (String)

6484
6485
6486
6487
6488
6489
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6484

class SpotResizingSpecification < Struct.new(
  :timeout_duration_minutes,
  :allocation_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#timeout_duration_minutesInteger

Spot resize timeout in minutes. If Spot Instances are not provisioned within this time, the resize workflow will stop provisioning of Spot instances. Minimum value is 5 minutes and maximum value is 10,080 minutes (7 days). The timeout applies to all resize workflows on the Instance Fleet. The resize could be triggered by Amazon EMR Managed Scaling or by the customer (via Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.

Returns:

  • (Integer)

6484
6485
6486
6487
6488
6489
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6484

class SpotResizingSpecification < Struct.new(
  :timeout_duration_minutes,
  :allocation_strategy)
  SENSITIVE = []
  include Aws::Structure
end