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

Class: Aws::EMR::Types::AutoScalingPolicyDescription

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

Overview

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Instance Attribute Summary collapse

Instance Attribute Details

#constraintsTypes::ScalingConstraints

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



463
464
465
466
467
468
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 463

class AutoScalingPolicyDescription < Struct.new(
  :status,
  :constraints,
  :rules)
  include Aws::Structure
end

#rulesArray<Types::ScalingRule>

The scale-in and scale-out rules that comprise the automatic scaling policy.

Returns:



463
464
465
466
467
468
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 463

class AutoScalingPolicyDescription < Struct.new(
  :status,
  :constraints,
  :rules)
  include Aws::Structure
end

#statusTypes::AutoScalingPolicyStatus

The status of an automatic scaling policy.



463
464
465
466
467
468
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 463

class AutoScalingPolicyDescription < Struct.new(
  :status,
  :constraints,
  :rules)
  include Aws::Structure
end