Skip to content
v2.274.0

SelfManagedEventSourceProperty Struct ​

The self-managed Apache Kafka cluster for your 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 selfManagedEventSourceProperty: lambda.CfnEventSourceMapping.SelfManagedEventSourceProperty = {
  endpoints: {
    kafkaBootstrapServers: ['kafkaBootstrapServers'],
  },
};

Properties ​

endpointsIResolvable | CfnEventSourceMapping.EndpointsPropertyendpointstyping.Union[IResolvable, EndpointsProperty]endpointsIResolvableEndpointsIResolvableEndpointsinterface{}#
The list of bootstrap servers for your Kafka brokers in the following format: `"KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]` .