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

#name ⇒ String

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

Returns:

  • (String)


8650
8651
8652
8653
8654
8655
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 8650

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

#weight ⇒ Integer

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

Returns:

  • (Integer)


8650
8651
8652
8653
8654
8655
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 8650

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