Class: Aws::EKS::Types::UpdateLabelsPayload

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

Overview

Note:

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

{
  add_or_update_labels: {
    "labelKey" => "labelValue",
  },
  remove_labels: ["String"],
}

An object representing a Kubernetes label change for a managed node group.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#add_or_update_labelsHash<String,String>

Kubernetes labels to be added or updated.

Returns:

  • (Hash<String,String>)


2457
2458
2459
2460
2461
2462
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 2457

class UpdateLabelsPayload < Struct.new(
  :add_or_update_labels,
  :remove_labels)
  SENSITIVE = []
  include Aws::Structure
end

#remove_labelsArray<String>

Kubernetes labels to be removed.

Returns:

  • (Array<String>)


2457
2458
2459
2460
2461
2462
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 2457

class UpdateLabelsPayload < Struct.new(
  :add_or_update_labels,
  :remove_labels)
  SENSITIVE = []
  include Aws::Structure
end