Skip to content

Commit

Permalink
Fix lambda error and rename
Browse files Browse the repository at this point in the history
  • Loading branch information
bracki committed Feb 4, 2021
1 parent 9d74326 commit d40bc2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/@aws-cdk/aws-lambda/lib/event-source-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ export interface SourceAccessConfiguration {
/**
* The endpoints for your self managed event source
*/
export interface Endpoints {
export interface SelfManagedEventSourceEndpoints {
/**
* A list of Kafka bootstrap servers in the format HOST:PORT, e.g. 'kafka-broker01:9096'
*/
kafkaBootstrapServers: string[]
readonly kafkaBootstrapServers: string[]
}

/**
Expand All @@ -36,7 +36,7 @@ export interface SelfManagedEventSource {
/**
* The endpoints for your self managed event source
*/
readonly endpoints: Endpoints
readonly endpoints: SelfManagedEventSourceEndpoints
}

export interface EventSourceMappingOptions {
Expand Down

0 comments on commit d40bc2c

Please sign in to comment.