WorkerConfigurationProperty Struct
The configuration of the workers, which are the processes that run the connector logic.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
The revision of the worker configuration.
workerConfigurationArnstringworker_configuration_arnstrworkerConfigurationArnStringWorkerConfigurationArnstringWorkerConfigurationArn*string required #The Amazon Resource Name (ARN) of the worker configuration.