Class: Aws::KafkaConnect::Types::UpdateConnectorRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:connector_configuration]

Instance Attribute Summary collapse

Instance Attribute Details

#capacity ⇒ Types::CapacityUpdate

The target capacity.



2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 2253

class UpdateConnectorRequest < Struct.new(
  :capacity,
  :connector_configuration,
  :skip_health_validation,
  :connector_arn,
  :current_version,
  :plugins,
  :worker_configuration,
  :use_default_worker_configuration)
  SENSITIVE = [:connector_configuration]
  include Aws::Structure
end

#connector_arn ⇒ String

The Amazon Resource Name (ARN) of the connector that you want to update.

Returns:

  • (String)


2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 2253

class UpdateConnectorRequest < Struct.new(
  :capacity,
  :connector_configuration,
  :skip_health_validation,
  :connector_arn,
  :current_version,
  :plugins,
  :worker_configuration,
  :use_default_worker_configuration)
  SENSITIVE = [:connector_configuration]
  include Aws::Structure
end

#connector_configuration ⇒ Hash<String,String>

A map of keys to values that represent the configuration for the connector.

Returns:

  • (Hash<String,String>)


2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 2253

class UpdateConnectorRequest < Struct.new(
  :capacity,
  :connector_configuration,
  :skip_health_validation,
  :connector_arn,
  :current_version,
  :plugins,
  :worker_configuration,
  :use_default_worker_configuration)
  SENSITIVE = [:connector_configuration]
  include Aws::Structure
end

#current_version ⇒ String

The current version of the connector that you want to update.

Returns:

  • (String)


2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 2253

class UpdateConnectorRequest < Struct.new(
  :capacity,
  :connector_configuration,
  :skip_health_validation,
  :connector_arn,
  :current_version,
  :plugins,
  :worker_configuration,
  :use_default_worker_configuration)
  SENSITIVE = [:connector_configuration]
  include Aws::Structure
end

#plugins ⇒ Array<Types::PluginUpdate>

Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.

Specifies which plugin to use for the connector. You must specify a single-element list containing one customPlugin object. If you don't specify this parameter, the connector keeps its current plugin.

Returns:



2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 2253

class UpdateConnectorRequest < Struct.new(
  :capacity,
  :connector_configuration,
  :skip_health_validation,
  :connector_arn,
  :current_version,
  :plugins,
  :worker_configuration,
  :use_default_worker_configuration)
  SENSITIVE = [:connector_configuration]
  include Aws::Structure
end

#skip_health_validation ⇒ Boolean

Specifies whether the update bypasses connector-level and task-level health checks. If true, the update skips the health checks. The update stays in effect even if the connector or its tasks are unhealthy, and Amazon MSK Connect doesn't roll it back. If false or not specified, the health checks run. If they fail, MSK Connect automatically rolls the connector back to its previous configuration, and the update doesn't take effect. To update a connector that is in the PAUSED state, you must set this parameter to true.

Returns:

  • (Boolean)


2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 2253

class UpdateConnectorRequest < Struct.new(
  :capacity,
  :connector_configuration,
  :skip_health_validation,
  :connector_arn,
  :current_version,
  :plugins,
  :worker_configuration,
  :use_default_worker_configuration)
  SENSITIVE = [:connector_configuration]
  include Aws::Structure
end

#use_default_worker_configuration ⇒ Boolean

Specifies whether to switch the connector to the default worker configuration that Amazon MSK Connect provides. If true, the connector stops using its custom worker configuration and uses the default worker configuration instead. If false or not specified, the connector keeps its current worker configuration. You can't specify both useDefaultWorkerConfiguration and workerConfiguration in the same request.

Returns:

  • (Boolean)


2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 2253

class UpdateConnectorRequest < Struct.new(
  :capacity,
  :connector_configuration,
  :skip_health_validation,
  :connector_arn,
  :current_version,
  :plugins,
  :worker_configuration,
  :use_default_worker_configuration)
  SENSITIVE = [:connector_configuration]
  include Aws::Structure
end

#worker_configuration ⇒ Types::WorkerConfigurationUpdate

The worker configuration to use with the connector. Specify the Amazon Resource Name (ARN) and the revision of the worker configuration. You can't specify both workerConfiguration and useDefaultWorkerConfiguration in the same request. If you specify neither parameter, the connector keeps its current worker configuration.



2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
# File 'gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/types.rb', line 2253

class UpdateConnectorRequest < Struct.new(
  :capacity,
  :connector_configuration,
  :skip_health_validation,
  :connector_arn,
  :current_version,
  :plugins,
  :worker_configuration,
  :use_default_worker_configuration)
  SENSITIVE = [:connector_configuration]
  include Aws::Structure
end