Class: Aws::KafkaConnect::Types::AutoScaling

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

Overview

Note:

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

{
  max_worker_count: 1, # required
  mcu_count: 1, # required
  min_worker_count: 1, # required
  scale_in_policy: {
    cpu_utilization_percentage: 1, # required
  },
  scale_out_policy: {
    cpu_utilization_percentage: 1, # required
  },
}

Specifies how the connector scales.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_worker_countInteger

The maximum number of workers allocated to the connector.

Returns:

  • (Integer)


106
107
108
109
110
111
112
113
114
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 106

class AutoScaling < Struct.new(
  :max_worker_count,
  :mcu_count,
  :min_worker_count,
  :scale_in_policy,
  :scale_out_policy)
  SENSITIVE = []
  include Aws::Structure
end

#mcu_countInteger

The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.

Returns:

  • (Integer)


106
107
108
109
110
111
112
113
114
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 106

class AutoScaling < Struct.new(
  :max_worker_count,
  :mcu_count,
  :min_worker_count,
  :scale_in_policy,
  :scale_out_policy)
  SENSITIVE = []
  include Aws::Structure
end

#min_worker_countInteger

The minimum number of workers allocated to the connector.

Returns:

  • (Integer)


106
107
108
109
110
111
112
113
114
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 106

class AutoScaling < Struct.new(
  :max_worker_count,
  :mcu_count,
  :min_worker_count,
  :scale_in_policy,
  :scale_out_policy)
  SENSITIVE = []
  include Aws::Structure
end

#scale_in_policyTypes::ScaleInPolicy

The sacle-in policy for the connector.



106
107
108
109
110
111
112
113
114
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 106

class AutoScaling < Struct.new(
  :max_worker_count,
  :mcu_count,
  :min_worker_count,
  :scale_in_policy,
  :scale_out_policy)
  SENSITIVE = []
  include Aws::Structure
end

#scale_out_policyTypes::ScaleOutPolicy

The sacle-out policy for the connector.



106
107
108
109
110
111
112
113
114
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 106

class AutoScaling < Struct.new(
  :max_worker_count,
  :mcu_count,
  :min_worker_count,
  :scale_in_policy,
  :scale_out_policy)
  SENSITIVE = []
  include Aws::Structure
end