interface AmazonManagedKafkaEventSourceConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lambda.CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty |
![]() | software.amazon.awscdk.services.lambda.CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty |
![]() | aws_cdk.aws_lambda.CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty |
![]() | @aws-cdk/aws-lambda » CfnEventSourceMapping » AmazonManagedKafkaEventSourceConfigProperty |
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lambda from '@aws-cdk/aws-lambda';
const amazonManagedKafkaEventSourceConfigProperty: lambda.CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty = {
consumerGroupId: 'consumerGroupId',
};
Properties
Name | Type | Description |
---|---|---|
consumer | string | The identifier for the Kafka consumer group to join. |
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 .