Class: Aws::EKS::Types::ResourceWeight

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

Overview

A resource weight entry for the scheduler scoring strategy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the resource (for example, cpu or memory).

Returns:

  • (String)


7954
7955
7956
7957
7958
7959
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 7954

class ResourceWeight < Struct.new(
  :name,
  :weight)
  SENSITIVE = []
  include Aws::Structure
end

#weightInteger

The weight assigned to the resource for scoring. Must be between 1 and 100.

Returns:

  • (Integer)


7954
7955
7956
7957
7958
7959
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 7954

class ResourceWeight < Struct.new(
  :name,
  :weight)
  SENSITIVE = []
  include Aws::Structure
end