Class: Aws::EMR::Types::ScalingConstraints

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

Overview

The upper and lower Amazon EC2 instance limits for an automatic scaling policy. Automatic scaling activities triggered by automatic scaling rules will not cause an instance group to grow above or below these limits.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_capacity ⇒ Integer

The upper boundary of Amazon EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.

Returns:

  • (Integer)


6414
6415
6416
6417
6418
6419
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6414

class ScalingConstraints < Struct.new(
  :min_capacity,
  :max_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#min_capacity ⇒ Integer

The lower boundary of Amazon EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.

Returns:

  • (Integer)


6414
6415
6416
6417
6418
6419
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6414

class ScalingConstraints < Struct.new(
  :min_capacity,
  :max_capacity)
  SENSITIVE = []
  include Aws::Structure
end