Class: Aws::KafkaConnect::Types::Capacity

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

{
  auto_scaling: {
    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
    },
  },
  provisioned_capacity: {
    mcu_count: 1, # required
    worker_count: 1, # required
  },
}

Information about the capacity of the connector, whether it is auto scaled or provisioned.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scalingTypes::AutoScaling

Information about the auto scaling parameters for the connector.

Returns:



249
250
251
252
253
254
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 249

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

#provisioned_capacityTypes::ProvisionedCapacity

Details about a fixed capacity allocated to a connector.



249
250
251
252
253
254
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 249

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