Class: Aws::EKS::Types::UpdateNodegroupConfigRequest

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 UpdateNodegroupConfigRequest data as a hash:

{
  cluster_name: "String", # required
  nodegroup_name: "String", # required
  labels: {
    add_or_update_labels: {
      "labelKey" => "labelValue",
    },
    remove_labels: ["String"],
  },
  taints: {
    add_or_update_taints: [
      {
        key: "taintKey",
        value: "taintValue",
        effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
      },
    ],
    remove_taints: [
      {
        key: "taintKey",
        value: "taintValue",
        effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
      },
    ],
  },
  scaling_config: {
    min_size: 1,
    max_size: 1,
    desired_size: 1,
  },
  update_config: {
    max_unavailable: 1,
    max_unavailable_percentage: 1,
  },
  client_request_token: "String",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_request_tokenString

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)

3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
# File 'lib/aws-sdk-eks/types.rb', line 3829

class UpdateNodegroupConfigRequest < Struct.new(
  :cluster_name,
  :nodegroup_name,
  :labels,
  :taints,
  :scaling_config,
  :update_config,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#cluster_nameString

The name of the Amazon EKS cluster that the managed node group resides in.

Returns:

  • (String)

3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
# File 'lib/aws-sdk-eks/types.rb', line 3829

class UpdateNodegroupConfigRequest < Struct.new(
  :cluster_name,
  :nodegroup_name,
  :labels,
  :taints,
  :scaling_config,
  :update_config,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#labelsTypes::UpdateLabelsPayload

The Kubernetes labels to be applied to the nodes in the node group after the update.


3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
# File 'lib/aws-sdk-eks/types.rb', line 3829

class UpdateNodegroupConfigRequest < Struct.new(
  :cluster_name,
  :nodegroup_name,
  :labels,
  :taints,
  :scaling_config,
  :update_config,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#nodegroup_nameString

The name of the managed node group to update.

Returns:

  • (String)

3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
# File 'lib/aws-sdk-eks/types.rb', line 3829

class UpdateNodegroupConfigRequest < Struct.new(
  :cluster_name,
  :nodegroup_name,
  :labels,
  :taints,
  :scaling_config,
  :update_config,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#scaling_configTypes::NodegroupScalingConfig

The scaling configuration details for the Auto Scaling group after the update.


3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
# File 'lib/aws-sdk-eks/types.rb', line 3829

class UpdateNodegroupConfigRequest < Struct.new(
  :cluster_name,
  :nodegroup_name,
  :labels,
  :taints,
  :scaling_config,
  :update_config,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#taintsTypes::UpdateTaintsPayload

The Kubernetes taints to be applied to the nodes in the node group after the update.


3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
# File 'lib/aws-sdk-eks/types.rb', line 3829

class UpdateNodegroupConfigRequest < Struct.new(
  :cluster_name,
  :nodegroup_name,
  :labels,
  :taints,
  :scaling_config,
  :update_config,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#update_configTypes::NodegroupUpdateConfig

The node group update configuration.


3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
# File 'lib/aws-sdk-eks/types.rb', line 3829

class UpdateNodegroupConfigRequest < Struct.new(
  :cluster_name,
  :nodegroup_name,
  :labels,
  :taints,
  :scaling_config,
  :update_config,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end