AmazonManagedKafkaEventSourceConfigProperty Struct
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
Example
ts
// 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 amazonManagedKafkaEventSourceConfigProperty: lambda.CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty = {
consumerGroupId: 'consumerGroupId',
schemaRegistryConfig: {
accessConfigs: [{
type: 'type',
uri: 'uri',
}],
eventRecordFormat: 'eventRecordFormat',
schemaRegistryUri: 'schemaRegistryUri',
schemaValidationConfigs: [{
attribute: 'attribute',
}],
},
};
Properties
consumerGroupIdstringconsumer_group_idstrconsumerGroupIdStringConsumerGroupIdstringConsumerGroupId*string#The identifier for the Kafka consumer group to join.
notes
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 .
schemaRegistryConfigIResolvable | CfnEventSourceMapping.SchemaRegistryConfigPropertyschema_registry_configtyping.Union[IResolvable, SchemaRegistryConfigProperty]schemaRegistryConfigIResolvableSchemaRegistryConfigIResolvableSchemaRegistryConfiginterface{}#Specific configuration settings for a Kafka schema registry.