interface SelfManagedKafkaEventSourceConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnEventSourceMapping_SelfManagedKafkaEventSourceConfigProperty |
Java | software.amazon.awscdk.services.lambda.CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty |
Python | aws_cdk.aws_lambda.CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty |
TypeScript | aws-cdk-lib » aws_lambda » CfnEventSourceMapping » SelfManagedKafkaEventSourceConfigProperty |
Specific configuration settings for a self-managed Apache Kafka event source.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const selfManagedKafkaEventSourceConfigProperty: lambda.CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty = {
consumerGroupId: 'consumerGroupId',
schemaRegistryConfig: {
accessConfigs: [{
type: 'type',
uri: 'uri',
}],
eventRecordFormat: 'eventRecordFormat',
schemaRegistryUri: 'schemaRegistryUri',
schemaValidationConfigs: [{
attribute: 'attribute',
}],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| consumer | string | The identifier for the Kafka consumer group to join. |
| schema | IResolvable | Schema | Specific configuration settings for a Kafka schema registry. |
consumerGroupId?
Type:
string
(optional)
The identifier for the Kafka consumer group to join.
The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see Customizable consumer group ID .
schemaRegistryConfig?
Type:
IResolvable | Schema
(optional)
Specific configuration settings for a Kafka schema registry.

.NET
Go
Java
Python
TypeScript