Class: Aws::KafkaConnect::Types::CapacityUpdate

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

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

The target capacity for the connector. The capacity can be auto scaled or provisioned.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scalingTypes::AutoScalingUpdate

The target auto scaling setting.



309
310
311
312
313
314
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 309

class CapacityUpdate < Struct.new(
  :auto_scaling,
  :provisioned_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#provisioned_capacityTypes::ProvisionedCapacityUpdate

The target settings for provisioned capacity.



309
310
311
312
313
314
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 309

class CapacityUpdate < Struct.new(
  :auto_scaling,
  :provisioned_capacity)
  SENSITIVE = []
  include Aws::Structure
end