# WorkerConfigurationProperty

The configuration of the workers, which are the processes that run the connector logic.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kafkaconnect as kafkaconnect } from 'aws-cdk-lib';
const workerConfigurationProperty: kafkaconnect.CfnConnector.WorkerConfigurationProperty = {
  revision: 123,
  workerConfigurationArn: 'workerConfigurationArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_kafkaconnect as kafkaconnect

worker_configuration_property = kafkaconnect.CfnConnector.WorkerConfigurationProperty(
    revision=123,
    worker_configuration_arn="workerConfigurationArn"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kafkaconnect.*;

WorkerConfigurationProperty workerConfigurationProperty = WorkerConfigurationProperty.builder()
        .revision(123)
        .workerConfigurationArn("workerConfigurationArn")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KafkaConnect;

var workerConfigurationProperty = new WorkerConfigurationProperty {
    Revision = 123,
    WorkerConfigurationArn = "workerConfigurationArn"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

workerConfigurationProperty := &WorkerConfigurationProperty{
	Revision: jsii.Number(123),
	WorkerConfigurationArn: jsii.String("workerConfigurationArn"),
}
```

## Properties

- `revision`: number (required) — The revision of the worker configuration.

- `workerConfigurationArn`: string (required) — The Amazon Resource Name (ARN) of the worker configuration.
