ConnectorState constructor

const ConnectorState({
  1. Input<Map<String, String>?>? configs,
  2. Input<String?>? connectCluster,
  3. Input<String?>? connectorId,
  4. Input<String?>? deletionPolicy,
  5. Input<String?>? location,
  6. Input<String?>? name,
  7. Input<String?>? project,
  8. Input<String?>? state,
  9. Input<ConnectorTaskRestartPolicy?>? taskRestartPolicy,
})

Creates a new ConnectorState. configs Connector config as keys/values. The keys of the map are connector property names, for example: connector.class, tasks.max, key.converter. connectCluster The connect cluster name. connectorId The ID to use for the connector, which will become the final component of the connector's name. This value is structured like: my-connector-id. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. location ID of the location of the Kafka Connect resource. See https://cloud.google.com/managed-kafka/docs/locations for a list of supported locations. name The name of the connector. The connector segment is used when connecting directly to the connect cluster. Structured like: projects/PROJECT_ID/locations/LOCATION/connectClusters/CONNECT_CLUSTER/connectors/CONNECTOR_ID. project The ID of the project in which the resource belongs. state The current state of the connect. Possible values: STATE_UNSPECIFIED, UNASSIGNED, RUNNING, PAUSED, FAILED, RESTARTING, and STOPPED. taskRestartPolicy A policy that specifies how to restart the failed connectors/tasks in a Cluster resource. If not set, the failed connectors/tasks won't be restarted.

Implementation

const ConnectorState({
  this.configs,
  this.connectCluster,
  this.connectorId,
  this.deletionPolicy,
  this.location,
  this.name,
  this.project,
  this.state,
  this.taskRestartPolicy,
});