Class: Aws::EKS::Types::NodegroupScalingConfig

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-eks/types.rb

Overview

Note:

When making an API call, you may pass NodegroupScalingConfig data as a hash:

{
  min_size: 1,
  max_size: 1,
  desired_size: 1,
}

An object representing the scaling configuration details for the Auto Scaling group that is associated with your node group. If you specify a value for any property, then you must specify values for all of the properties.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#desired_sizeInteger

The current number of nodes that the managed node group should maintain.

Returns:

  • (Integer)

2839
2840
2841
2842
2843
2844
2845
# File 'lib/aws-sdk-eks/types.rb', line 2839

class NodegroupScalingConfig < Struct.new(
  :min_size,
  :max_size,
  :desired_size)
  SENSITIVE = []
  include Aws::Structure
end

#max_sizeInteger

The maximum number of nodes that the managed node group can scale out to. For information about the maximum number that you can specify, see [Amazon EKS service quotas] in the *Amazon EKS User Guide*.

[1]: docs.aws.amazon.com/eks/latest/userguide/service-quotas.html

Returns:

  • (Integer)

2839
2840
2841
2842
2843
2844
2845
# File 'lib/aws-sdk-eks/types.rb', line 2839

class NodegroupScalingConfig < Struct.new(
  :min_size,
  :max_size,
  :desired_size)
  SENSITIVE = []
  include Aws::Structure
end

#min_sizeInteger

The minimum number of nodes that the managed node group can scale in to. This number must be greater than zero.

Returns:

  • (Integer)

2839
2840
2841
2842
2843
2844
2845
# File 'lib/aws-sdk-eks/types.rb', line 2839

class NodegroupScalingConfig < Struct.new(
  :min_size,
  :max_size,
  :desired_size)
  SENSITIVE = []
  include Aws::Structure
end