We recommend new projects start with resources from the AWS provider.
aws-native.lambda.EventSourceMapping
We recommend new projects start with resources from the AWS provider.
The AWS::Lambda::EventSourceMapping resource creates a mapping between an event source and an LAMlong function. LAM reads items from the event source and triggers the function.
For details about each event source type, see the following topics. In particular, each of the topics describes the required and optional parameters for the specific event source.
- Configuring a Dynamo DB stream as an event source
- Configuring a Kinesis stream as an event source
- Configuring an SQS queue as an event source
- Configuring an MQ broker as an event source
- Configuring MSK as an event source
- Configuring Self-Managed Apache Kafka as an event source
- Configuring Amazon DocumentDB as an event source
Create EventSourceMapping Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventSourceMapping(name: string, args: EventSourceMappingArgs, opts?: CustomResourceOptions);@overload
def EventSourceMapping(resource_name: str,
                       args: EventSourceMappingArgs,
                       opts: Optional[ResourceOptions] = None)
@overload
def EventSourceMapping(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       function_name: Optional[str] = None,
                       maximum_record_age_in_seconds: Optional[int] = None,
                       starting_position_timestamp: Optional[float] = None,
                       destination_config: Optional[EventSourceMappingDestinationConfigArgs] = None,
                       document_db_event_source_config: Optional[EventSourceMappingDocumentDbEventSourceConfigArgs] = None,
                       enabled: Optional[bool] = None,
                       event_source_arn: Optional[str] = None,
                       filter_criteria: Optional[EventSourceMappingFilterCriteriaArgs] = None,
                       batch_size: Optional[int] = None,
                       function_response_types: Optional[Sequence[EventSourceMappingFunctionResponseTypesItem]] = None,
                       kms_key_arn: Optional[str] = None,
                       maximum_batching_window_in_seconds: Optional[int] = None,
                       amazon_managed_kafka_event_source_config: Optional[EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs] = None,
                       bisect_batch_on_function_error: Optional[bool] = None,
                       maximum_retry_attempts: Optional[int] = None,
                       self_managed_event_source: Optional[EventSourceMappingSelfManagedEventSourceArgs] = None,
                       provisioned_poller_config: Optional[EventSourceMappingProvisionedPollerConfigArgs] = None,
                       queues: Optional[Sequence[str]] = None,
                       scaling_config: Optional[EventSourceMappingScalingConfigArgs] = None,
                       parallelization_factor: Optional[int] = None,
                       self_managed_kafka_event_source_config: Optional[EventSourceMappingSelfManagedKafkaEventSourceConfigArgs] = None,
                       source_access_configurations: Optional[Sequence[EventSourceMappingSourceAccessConfigurationArgs]] = None,
                       starting_position: Optional[str] = None,
                       metrics_config: Optional[EventSourceMappingMetricsConfigArgs] = None,
                       tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                       topics: Optional[Sequence[str]] = None,
                       tumbling_window_in_seconds: Optional[int] = None)func NewEventSourceMapping(ctx *Context, name string, args EventSourceMappingArgs, opts ...ResourceOption) (*EventSourceMapping, error)public EventSourceMapping(string name, EventSourceMappingArgs args, CustomResourceOptions? opts = null)
public EventSourceMapping(String name, EventSourceMappingArgs args)
public EventSourceMapping(String name, EventSourceMappingArgs args, CustomResourceOptions options)
type: aws-native:lambda:EventSourceMapping
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EventSourceMappingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EventSourceMappingArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EventSourceMappingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventSourceMappingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventSourceMappingArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EventSourceMapping Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EventSourceMapping resource accepts the following input properties:
- FunctionName string
- The name or ARN of the Lambda function. Name formats - Function name – MyFunction.
- Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
- Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.
- Partial ARN – 123456789012:function:MyFunction.
 - The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length. 
- Function name – 
- AmazonManaged Pulumi.Kafka Event Source Config Aws Native. Lambda. Inputs. Event Source Mapping Amazon Managed Kafka Event Source Config 
- Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
- BatchSize int
- The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).- Amazon Kinesis – Default 100. Max 10,000.
- Amazon DynamoDB Streams – Default 100. Max 10,000.
- Amazon Simple Queue Service – Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.
- Amazon Managed Streaming for Apache Kafka – Default 100. Max 10,000.
- Self-managed Apache Kafka – Default 100. Max 10,000.
- Amazon MQ (ActiveMQ and RabbitMQ) – Default 100. Max 10,000.
- DocumentDB – Default 100. Max 10,000.
 
- BisectBatch boolOn Function Error 
- (Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry. The default value is false.
When using BisectBatchOnFunctionError, check theBatchSizeparameter in theOnFailuredestination message's metadata. TheBatchSizecould be greater than 1 since LAM consolidates failed messages metadata when writing to theOnFailuredestination.
- DestinationConfig Pulumi.Aws Native. Lambda. Inputs. Event Source Mapping Destination Config 
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration object that specifies the destination of an event after Lambda processes it.
- DocumentDb Pulumi.Event Source Config Aws Native. Lambda. Inputs. Event Source Mapping Document Db Event Source Config 
- Specific configuration settings for a DocumentDB event source.
- Enabled bool
- When true, the event source mapping is active. When false, Lambda pauses polling and invocation. Default: True
- EventSource stringArn 
- The Amazon Resource Name (ARN) of the event source.- Amazon Kinesis – The ARN of the data stream or a stream consumer.
- Amazon DynamoDB Streams – The ARN of the stream.
- Amazon Simple Queue Service – The ARN of the queue.
- Amazon Managed Streaming for Apache Kafka – The ARN of the cluster or the ARN of the VPC connection (for cross-account event source mappings).
- Amazon MQ – The ARN of the broker.
- Amazon DocumentDB – The ARN of the DocumentDB change stream.
 
- FilterCriteria Pulumi.Aws Native. Lambda. Inputs. Event Source Mapping Filter Criteria 
- An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
- FunctionResponse List<Pulumi.Types Aws Native. Lambda. Event Source Mapping Function Response Types Item> 
- (Kinesis, DynamoDB Streams, and SQS) A list of current response type enums applied to the event source mapping.
Valid Values: ReportBatchItemFailures
- KmsKey stringArn 
- The ARN of the KMSlong (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
- MaximumBatching intWindow In Seconds 
- The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
Default (, , event sources): 0
Default (, Kafka, , event sources): 500 ms
Related setting: For SQS event sources, when you set BatchSizeto a value greater than 10, you must setMaximumBatchingWindowInSecondsto at least 1.
- MaximumRecord intAge In Seconds 
- (Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records. The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed
- MaximumRetry intAttempts 
- (Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.
- MetricsConfig Pulumi.Aws Native. Lambda. Inputs. Event Source Mapping Metrics Config 
- The metrics configuration for your event source. For more information, see Event source mapping metrics.
- ParallelizationFactor int
- (Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The default value is 1.
- ProvisionedPoller Pulumi.Config Aws Native. Lambda. Inputs. Event Source Mapping Provisioned Poller Config 
- (Amazon MSK and self-managed Apache Kafka only) The provisioned mode configuration for the event source. For more information, see provisioned mode.
- Queues List<string>
- (Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
- ScalingConfig Pulumi.Aws Native. Lambda. Inputs. Event Source Mapping Scaling Config 
- (Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.
- SelfManaged Pulumi.Event Source Aws Native. Lambda. Inputs. Event Source Mapping Self Managed Event Source 
- The self-managed Apache Kafka cluster for your event source.
- SelfManaged Pulumi.Kafka Event Source Config Aws Native. Lambda. Inputs. Event Source Mapping Self Managed Kafka Event Source Config 
- Specific configuration settings for a self-managed Apache Kafka event source.
- SourceAccess List<Pulumi.Configurations Aws Native. Lambda. Inputs. Event Source Mapping Source Access Configuration> 
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
- StartingPosition string
- The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB.- LATEST - Read only new records.
- TRIM_HORIZON - Process all available records.
- AT_TIMESTAMP - Specify a time from which to start reading records.
 
- StartingPosition doubleTimestamp 
- With StartingPositionset toAT_TIMESTAMP, the time from which to start reading, in Unix time seconds.StartingPositionTimestampcannot be in the future.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- A list of tags to add to the event source mapping.
You must have the lambda:TagResource,lambda:UntagResource, andlambda:ListTagspermissions for your principal to manage the CFN stack. If you don't have these permissions, there might be unexpected behavior with stack-level tags propagating to the resource during resource creation and update.
- Topics List<string>
- The name of the Kafka topic.
- TumblingWindow intIn Seconds 
- (Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.
- FunctionName string
- The name or ARN of the Lambda function. Name formats - Function name – MyFunction.
- Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
- Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.
- Partial ARN – 123456789012:function:MyFunction.
 - The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length. 
- Function name – 
- AmazonManaged EventKafka Event Source Config Source Mapping Amazon Managed Kafka Event Source Config Args 
- Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
- BatchSize int
- The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).- Amazon Kinesis – Default 100. Max 10,000.
- Amazon DynamoDB Streams – Default 100. Max 10,000.
- Amazon Simple Queue Service – Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.
- Amazon Managed Streaming for Apache Kafka – Default 100. Max 10,000.
- Self-managed Apache Kafka – Default 100. Max 10,000.
- Amazon MQ (ActiveMQ and RabbitMQ) – Default 100. Max 10,000.
- DocumentDB – Default 100. Max 10,000.
 
- BisectBatch boolOn Function Error 
- (Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry. The default value is false.
When using BisectBatchOnFunctionError, check theBatchSizeparameter in theOnFailuredestination message's metadata. TheBatchSizecould be greater than 1 since LAM consolidates failed messages metadata when writing to theOnFailuredestination.
- DestinationConfig EventSource Mapping Destination Config Args 
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration object that specifies the destination of an event after Lambda processes it.
- DocumentDb EventEvent Source Config Source Mapping Document Db Event Source Config Args 
- Specific configuration settings for a DocumentDB event source.
- Enabled bool
- When true, the event source mapping is active. When false, Lambda pauses polling and invocation. Default: True
- EventSource stringArn 
- The Amazon Resource Name (ARN) of the event source.- Amazon Kinesis – The ARN of the data stream or a stream consumer.
- Amazon DynamoDB Streams – The ARN of the stream.
- Amazon Simple Queue Service – The ARN of the queue.
- Amazon Managed Streaming for Apache Kafka – The ARN of the cluster or the ARN of the VPC connection (for cross-account event source mappings).
- Amazon MQ – The ARN of the broker.
- Amazon DocumentDB – The ARN of the DocumentDB change stream.
 
- FilterCriteria EventSource Mapping Filter Criteria Args 
- An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
- FunctionResponse []EventTypes Source Mapping Function Response Types Item 
- (Kinesis, DynamoDB Streams, and SQS) A list of current response type enums applied to the event source mapping.
Valid Values: ReportBatchItemFailures
- KmsKey stringArn 
- The ARN of the KMSlong (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
- MaximumBatching intWindow In Seconds 
- The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
Default (, , event sources): 0
Default (, Kafka, , event sources): 500 ms
Related setting: For SQS event sources, when you set BatchSizeto a value greater than 10, you must setMaximumBatchingWindowInSecondsto at least 1.
- MaximumRecord intAge In Seconds 
- (Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records. The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed
- MaximumRetry intAttempts 
- (Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.
- MetricsConfig EventSource Mapping Metrics Config Args 
- The metrics configuration for your event source. For more information, see Event source mapping metrics.
- ParallelizationFactor int
- (Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The default value is 1.
- ProvisionedPoller EventConfig Source Mapping Provisioned Poller Config Args 
- (Amazon MSK and self-managed Apache Kafka only) The provisioned mode configuration for the event source. For more information, see provisioned mode.
- Queues []string
- (Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
- ScalingConfig EventSource Mapping Scaling Config Args 
- (Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.
- SelfManaged EventEvent Source Source Mapping Self Managed Event Source Args 
- The self-managed Apache Kafka cluster for your event source.
- SelfManaged EventKafka Event Source Config Source Mapping Self Managed Kafka Event Source Config Args 
- Specific configuration settings for a self-managed Apache Kafka event source.
- SourceAccess []EventConfigurations Source Mapping Source Access Configuration Args 
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
- StartingPosition string
- The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB.- LATEST - Read only new records.
- TRIM_HORIZON - Process all available records.
- AT_TIMESTAMP - Specify a time from which to start reading records.
 
- StartingPosition float64Timestamp 
- With StartingPositionset toAT_TIMESTAMP, the time from which to start reading, in Unix time seconds.StartingPositionTimestampcannot be in the future.
- 
TagArgs 
- A list of tags to add to the event source mapping.
You must have the lambda:TagResource,lambda:UntagResource, andlambda:ListTagspermissions for your principal to manage the CFN stack. If you don't have these permissions, there might be unexpected behavior with stack-level tags propagating to the resource during resource creation and update.
- Topics []string
- The name of the Kafka topic.
- TumblingWindow intIn Seconds 
- (Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.
- functionName String
- The name or ARN of the Lambda function. Name formats - Function name – MyFunction.
- Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
- Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.
- Partial ARN – 123456789012:function:MyFunction.
 - The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length. 
- Function name – 
- amazonManaged EventKafka Event Source Config Source Mapping Amazon Managed Kafka Event Source Config 
- Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
- batchSize Integer
- The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).- Amazon Kinesis – Default 100. Max 10,000.
- Amazon DynamoDB Streams – Default 100. Max 10,000.
- Amazon Simple Queue Service – Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.
- Amazon Managed Streaming for Apache Kafka – Default 100. Max 10,000.
- Self-managed Apache Kafka – Default 100. Max 10,000.
- Amazon MQ (ActiveMQ and RabbitMQ) – Default 100. Max 10,000.
- DocumentDB – Default 100. Max 10,000.
 
- bisectBatch BooleanOn Function Error 
- (Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry. The default value is false.
When using BisectBatchOnFunctionError, check theBatchSizeparameter in theOnFailuredestination message's metadata. TheBatchSizecould be greater than 1 since LAM consolidates failed messages metadata when writing to theOnFailuredestination.
- destinationConfig EventSource Mapping Destination Config 
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration object that specifies the destination of an event after Lambda processes it.
- documentDb EventEvent Source Config Source Mapping Document Db Event Source Config 
- Specific configuration settings for a DocumentDB event source.
- enabled Boolean
- When true, the event source mapping is active. When false, Lambda pauses polling and invocation. Default: True
- eventSource StringArn 
- The Amazon Resource Name (ARN) of the event source.- Amazon Kinesis – The ARN of the data stream or a stream consumer.
- Amazon DynamoDB Streams – The ARN of the stream.
- Amazon Simple Queue Service – The ARN of the queue.
- Amazon Managed Streaming for Apache Kafka – The ARN of the cluster or the ARN of the VPC connection (for cross-account event source mappings).
- Amazon MQ – The ARN of the broker.
- Amazon DocumentDB – The ARN of the DocumentDB change stream.
 
- filterCriteria EventSource Mapping Filter Criteria 
- An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
- functionResponse List<EventTypes Source Mapping Function Response Types Item> 
- (Kinesis, DynamoDB Streams, and SQS) A list of current response type enums applied to the event source mapping.
Valid Values: ReportBatchItemFailures
- kmsKey StringArn 
- The ARN of the KMSlong (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
- maximumBatching IntegerWindow In Seconds 
- The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
Default (, , event sources): 0
Default (, Kafka, , event sources): 500 ms
Related setting: For SQS event sources, when you set BatchSizeto a value greater than 10, you must setMaximumBatchingWindowInSecondsto at least 1.
- maximumRecord IntegerAge In Seconds 
- (Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records. The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed
- maximumRetry IntegerAttempts 
- (Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.
- metricsConfig EventSource Mapping Metrics Config 
- The metrics configuration for your event source. For more information, see Event source mapping metrics.
- parallelizationFactor Integer
- (Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The default value is 1.
- provisionedPoller EventConfig Source Mapping Provisioned Poller Config 
- (Amazon MSK and self-managed Apache Kafka only) The provisioned mode configuration for the event source. For more information, see provisioned mode.
- queues List<String>
- (Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
- scalingConfig EventSource Mapping Scaling Config 
- (Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.
- selfManaged EventEvent Source Source Mapping Self Managed Event Source 
- The self-managed Apache Kafka cluster for your event source.
- selfManaged EventKafka Event Source Config Source Mapping Self Managed Kafka Event Source Config 
- Specific configuration settings for a self-managed Apache Kafka event source.
- sourceAccess List<EventConfigurations Source Mapping Source Access Configuration> 
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
- startingPosition String
- The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB.- LATEST - Read only new records.
- TRIM_HORIZON - Process all available records.
- AT_TIMESTAMP - Specify a time from which to start reading records.
 
- startingPosition DoubleTimestamp 
- With StartingPositionset toAT_TIMESTAMP, the time from which to start reading, in Unix time seconds.StartingPositionTimestampcannot be in the future.
- List<Tag>
- A list of tags to add to the event source mapping.
You must have the lambda:TagResource,lambda:UntagResource, andlambda:ListTagspermissions for your principal to manage the CFN stack. If you don't have these permissions, there might be unexpected behavior with stack-level tags propagating to the resource during resource creation and update.
- topics List<String>
- The name of the Kafka topic.
- tumblingWindow IntegerIn Seconds 
- (Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.
- functionName string
- The name or ARN of the Lambda function. Name formats - Function name – MyFunction.
- Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
- Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.
- Partial ARN – 123456789012:function:MyFunction.
 - The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length. 
- Function name – 
- amazonManaged EventKafka Event Source Config Source Mapping Amazon Managed Kafka Event Source Config 
- Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
- batchSize number
- The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).- Amazon Kinesis – Default 100. Max 10,000.
- Amazon DynamoDB Streams – Default 100. Max 10,000.
- Amazon Simple Queue Service – Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.
- Amazon Managed Streaming for Apache Kafka – Default 100. Max 10,000.
- Self-managed Apache Kafka – Default 100. Max 10,000.
- Amazon MQ (ActiveMQ and RabbitMQ) – Default 100. Max 10,000.
- DocumentDB – Default 100. Max 10,000.
 
- bisectBatch booleanOn Function Error 
- (Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry. The default value is false.
When using BisectBatchOnFunctionError, check theBatchSizeparameter in theOnFailuredestination message's metadata. TheBatchSizecould be greater than 1 since LAM consolidates failed messages metadata when writing to theOnFailuredestination.
- destinationConfig EventSource Mapping Destination Config 
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration object that specifies the destination of an event after Lambda processes it.
- documentDb EventEvent Source Config Source Mapping Document Db Event Source Config 
- Specific configuration settings for a DocumentDB event source.
- enabled boolean
- When true, the event source mapping is active. When false, Lambda pauses polling and invocation. Default: True
- eventSource stringArn 
- The Amazon Resource Name (ARN) of the event source.- Amazon Kinesis – The ARN of the data stream or a stream consumer.
- Amazon DynamoDB Streams – The ARN of the stream.
- Amazon Simple Queue Service – The ARN of the queue.
- Amazon Managed Streaming for Apache Kafka – The ARN of the cluster or the ARN of the VPC connection (for cross-account event source mappings).
- Amazon MQ – The ARN of the broker.
- Amazon DocumentDB – The ARN of the DocumentDB change stream.
 
- filterCriteria EventSource Mapping Filter Criteria 
- An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
- functionResponse EventTypes Source Mapping Function Response Types Item[] 
- (Kinesis, DynamoDB Streams, and SQS) A list of current response type enums applied to the event source mapping.
Valid Values: ReportBatchItemFailures
- kmsKey stringArn 
- The ARN of the KMSlong (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
- maximumBatching numberWindow In Seconds 
- The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
Default (, , event sources): 0
Default (, Kafka, , event sources): 500 ms
Related setting: For SQS event sources, when you set BatchSizeto a value greater than 10, you must setMaximumBatchingWindowInSecondsto at least 1.
- maximumRecord numberAge In Seconds 
- (Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records. The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed
- maximumRetry numberAttempts 
- (Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.
- metricsConfig EventSource Mapping Metrics Config 
- The metrics configuration for your event source. For more information, see Event source mapping metrics.
- parallelizationFactor number
- (Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The default value is 1.
- provisionedPoller EventConfig Source Mapping Provisioned Poller Config 
- (Amazon MSK and self-managed Apache Kafka only) The provisioned mode configuration for the event source. For more information, see provisioned mode.
- queues string[]
- (Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
- scalingConfig EventSource Mapping Scaling Config 
- (Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.
- selfManaged EventEvent Source Source Mapping Self Managed Event Source 
- The self-managed Apache Kafka cluster for your event source.
- selfManaged EventKafka Event Source Config Source Mapping Self Managed Kafka Event Source Config 
- Specific configuration settings for a self-managed Apache Kafka event source.
- sourceAccess EventConfigurations Source Mapping Source Access Configuration[] 
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
- startingPosition string
- The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB.- LATEST - Read only new records.
- TRIM_HORIZON - Process all available records.
- AT_TIMESTAMP - Specify a time from which to start reading records.
 
- startingPosition numberTimestamp 
- With StartingPositionset toAT_TIMESTAMP, the time from which to start reading, in Unix time seconds.StartingPositionTimestampcannot be in the future.
- Tag[]
- A list of tags to add to the event source mapping.
You must have the lambda:TagResource,lambda:UntagResource, andlambda:ListTagspermissions for your principal to manage the CFN stack. If you don't have these permissions, there might be unexpected behavior with stack-level tags propagating to the resource during resource creation and update.
- topics string[]
- The name of the Kafka topic.
- tumblingWindow numberIn Seconds 
- (Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.
- function_name str
- The name or ARN of the Lambda function. Name formats - Function name – MyFunction.
- Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
- Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.
- Partial ARN – 123456789012:function:MyFunction.
 - The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length. 
- Function name – 
- amazon_managed_ Eventkafka_ event_ source_ config Source Mapping Amazon Managed Kafka Event Source Config Args 
- Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
- batch_size int
- The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).- Amazon Kinesis – Default 100. Max 10,000.
- Amazon DynamoDB Streams – Default 100. Max 10,000.
- Amazon Simple Queue Service – Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.
- Amazon Managed Streaming for Apache Kafka – Default 100. Max 10,000.
- Self-managed Apache Kafka – Default 100. Max 10,000.
- Amazon MQ (ActiveMQ and RabbitMQ) – Default 100. Max 10,000.
- DocumentDB – Default 100. Max 10,000.
 
- bisect_batch_ boolon_ function_ error 
- (Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry. The default value is false.
When using BisectBatchOnFunctionError, check theBatchSizeparameter in theOnFailuredestination message's metadata. TheBatchSizecould be greater than 1 since LAM consolidates failed messages metadata when writing to theOnFailuredestination.
- destination_config EventSource Mapping Destination Config Args 
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration object that specifies the destination of an event after Lambda processes it.
- document_db_ Eventevent_ source_ config Source Mapping Document Db Event Source Config Args 
- Specific configuration settings for a DocumentDB event source.
- enabled bool
- When true, the event source mapping is active. When false, Lambda pauses polling and invocation. Default: True
- event_source_ strarn 
- The Amazon Resource Name (ARN) of the event source.- Amazon Kinesis – The ARN of the data stream or a stream consumer.
- Amazon DynamoDB Streams – The ARN of the stream.
- Amazon Simple Queue Service – The ARN of the queue.
- Amazon Managed Streaming for Apache Kafka – The ARN of the cluster or the ARN of the VPC connection (for cross-account event source mappings).
- Amazon MQ – The ARN of the broker.
- Amazon DocumentDB – The ARN of the DocumentDB change stream.
 
- filter_criteria EventSource Mapping Filter Criteria Args 
- An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
- function_response_ Sequence[Eventtypes Source Mapping Function Response Types Item] 
- (Kinesis, DynamoDB Streams, and SQS) A list of current response type enums applied to the event source mapping.
Valid Values: ReportBatchItemFailures
- kms_key_ strarn 
- The ARN of the KMSlong (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
- maximum_batching_ intwindow_ in_ seconds 
- The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
Default (, , event sources): 0
Default (, Kafka, , event sources): 500 ms
Related setting: For SQS event sources, when you set BatchSizeto a value greater than 10, you must setMaximumBatchingWindowInSecondsto at least 1.
- maximum_record_ intage_ in_ seconds 
- (Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records. The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed
- maximum_retry_ intattempts 
- (Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.
- metrics_config EventSource Mapping Metrics Config Args 
- The metrics configuration for your event source. For more information, see Event source mapping metrics.
- parallelization_factor int
- (Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The default value is 1.
- provisioned_poller_ Eventconfig Source Mapping Provisioned Poller Config Args 
- (Amazon MSK and self-managed Apache Kafka only) The provisioned mode configuration for the event source. For more information, see provisioned mode.
- queues Sequence[str]
- (Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
- scaling_config EventSource Mapping Scaling Config Args 
- (Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.
- self_managed_ Eventevent_ source Source Mapping Self Managed Event Source Args 
- The self-managed Apache Kafka cluster for your event source.
- self_managed_ Eventkafka_ event_ source_ config Source Mapping Self Managed Kafka Event Source Config Args 
- Specific configuration settings for a self-managed Apache Kafka event source.
- source_access_ Sequence[Eventconfigurations Source Mapping Source Access Configuration Args] 
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
- starting_position str
- The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB.- LATEST - Read only new records.
- TRIM_HORIZON - Process all available records.
- AT_TIMESTAMP - Specify a time from which to start reading records.
 
- starting_position_ floattimestamp 
- With StartingPositionset toAT_TIMESTAMP, the time from which to start reading, in Unix time seconds.StartingPositionTimestampcannot be in the future.
- 
Sequence[TagArgs] 
- A list of tags to add to the event source mapping.
You must have the lambda:TagResource,lambda:UntagResource, andlambda:ListTagspermissions for your principal to manage the CFN stack. If you don't have these permissions, there might be unexpected behavior with stack-level tags propagating to the resource during resource creation and update.
- topics Sequence[str]
- The name of the Kafka topic.
- tumbling_window_ intin_ seconds 
- (Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.
- functionName String
- The name or ARN of the Lambda function. Name formats - Function name – MyFunction.
- Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
- Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.
- Partial ARN – 123456789012:function:MyFunction.
 - The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length. 
- Function name – 
- amazonManaged Property MapKafka Event Source Config 
- Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
- batchSize Number
- The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).- Amazon Kinesis – Default 100. Max 10,000.
- Amazon DynamoDB Streams – Default 100. Max 10,000.
- Amazon Simple Queue Service – Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.
- Amazon Managed Streaming for Apache Kafka – Default 100. Max 10,000.
- Self-managed Apache Kafka – Default 100. Max 10,000.
- Amazon MQ (ActiveMQ and RabbitMQ) – Default 100. Max 10,000.
- DocumentDB – Default 100. Max 10,000.
 
- bisectBatch BooleanOn Function Error 
- (Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry. The default value is false.
When using BisectBatchOnFunctionError, check theBatchSizeparameter in theOnFailuredestination message's metadata. TheBatchSizecould be greater than 1 since LAM consolidates failed messages metadata when writing to theOnFailuredestination.
- destinationConfig Property Map
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration object that specifies the destination of an event after Lambda processes it.
- documentDb Property MapEvent Source Config 
- Specific configuration settings for a DocumentDB event source.
- enabled Boolean
- When true, the event source mapping is active. When false, Lambda pauses polling and invocation. Default: True
- eventSource StringArn 
- The Amazon Resource Name (ARN) of the event source.- Amazon Kinesis – The ARN of the data stream or a stream consumer.
- Amazon DynamoDB Streams – The ARN of the stream.
- Amazon Simple Queue Service – The ARN of the queue.
- Amazon Managed Streaming for Apache Kafka – The ARN of the cluster or the ARN of the VPC connection (for cross-account event source mappings).
- Amazon MQ – The ARN of the broker.
- Amazon DocumentDB – The ARN of the DocumentDB change stream.
 
- filterCriteria Property Map
- An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
- functionResponse List<"ReportTypes Batch Item Failures"> 
- (Kinesis, DynamoDB Streams, and SQS) A list of current response type enums applied to the event source mapping.
Valid Values: ReportBatchItemFailures
- kmsKey StringArn 
- The ARN of the KMSlong (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
- maximumBatching NumberWindow In Seconds 
- The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
Default (, , event sources): 0
Default (, Kafka, , event sources): 500 ms
Related setting: For SQS event sources, when you set BatchSizeto a value greater than 10, you must setMaximumBatchingWindowInSecondsto at least 1.
- maximumRecord NumberAge In Seconds 
- (Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records. The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed
- maximumRetry NumberAttempts 
- (Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.
- metricsConfig Property Map
- The metrics configuration for your event source. For more information, see Event source mapping metrics.
- parallelizationFactor Number
- (Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The default value is 1.
- provisionedPoller Property MapConfig 
- (Amazon MSK and self-managed Apache Kafka only) The provisioned mode configuration for the event source. For more information, see provisioned mode.
- queues List<String>
- (Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
- scalingConfig Property Map
- (Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.
- selfManaged Property MapEvent Source 
- The self-managed Apache Kafka cluster for your event source.
- selfManaged Property MapKafka Event Source Config 
- Specific configuration settings for a self-managed Apache Kafka event source.
- sourceAccess List<Property Map>Configurations 
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
- startingPosition String
- The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB.- LATEST - Read only new records.
- TRIM_HORIZON - Process all available records.
- AT_TIMESTAMP - Specify a time from which to start reading records.
 
- startingPosition NumberTimestamp 
- With StartingPositionset toAT_TIMESTAMP, the time from which to start reading, in Unix time seconds.StartingPositionTimestampcannot be in the future.
- List<Property Map>
- A list of tags to add to the event source mapping.
You must have the lambda:TagResource,lambda:UntagResource, andlambda:ListTagspermissions for your principal to manage the CFN stack. If you don't have these permissions, there might be unexpected behavior with stack-level tags propagating to the resource during resource creation and update.
- topics List<String>
- The name of the Kafka topic.
- tumblingWindow NumberIn Seconds 
- (Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.
Outputs
All input properties are implicitly available as output properties. Additionally, the EventSourceMapping resource produces the following output properties:
- AwsId string
- The event source mapping's ID.
- EventSource stringMapping Arn 
- The Amazon Resource Name (ARN) of the event source mapping.
- Id string
- The provider-assigned unique ID for this managed resource.
- AwsId string
- The event source mapping's ID.
- EventSource stringMapping Arn 
- The Amazon Resource Name (ARN) of the event source mapping.
- Id string
- The provider-assigned unique ID for this managed resource.
- awsId String
- The event source mapping's ID.
- eventSource StringMapping Arn 
- The Amazon Resource Name (ARN) of the event source mapping.
- id String
- The provider-assigned unique ID for this managed resource.
- awsId string
- The event source mapping's ID.
- eventSource stringMapping Arn 
- The Amazon Resource Name (ARN) of the event source mapping.
- id string
- The provider-assigned unique ID for this managed resource.
- aws_id str
- The event source mapping's ID.
- event_source_ strmapping_ arn 
- The Amazon Resource Name (ARN) of the event source mapping.
- id str
- The provider-assigned unique ID for this managed resource.
- awsId String
- The event source mapping's ID.
- eventSource StringMapping Arn 
- The Amazon Resource Name (ARN) of the event source mapping.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
EventSourceMappingAmazonManagedKafkaEventSourceConfig, EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs                  
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.- ConsumerGroup stringId 
- 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.
- SchemaRegistry Pulumi.Config Aws Native. Lambda. Inputs. Event Source Mapping Schema Registry Config 
- Specific configuration settings for a Kafka schema registry.
- ConsumerGroup stringId 
- 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.
- SchemaRegistry EventConfig Source Mapping Schema Registry Config 
- Specific configuration settings for a Kafka schema registry.
- consumerGroup StringId 
- 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.
- schemaRegistry EventConfig Source Mapping Schema Registry Config 
- Specific configuration settings for a Kafka schema registry.
- consumerGroup stringId 
- 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.
- schemaRegistry EventConfig Source Mapping Schema Registry Config 
- Specific configuration settings for a Kafka schema registry.
- consumer_group_ strid 
- 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.
- schema_registry_ Eventconfig Source Mapping Schema Registry Config 
- Specific configuration settings for a Kafka schema registry.
- consumerGroup StringId 
- 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.
- schemaRegistry Property MapConfig 
- Specific configuration settings for a Kafka schema registry.
EventSourceMappingDestinationConfig, EventSourceMappingDestinationConfigArgs          
A configuration object that specifies the destination of an event after Lambda processes it. For more information, see Adding a destination.- OnFailure Pulumi.Aws Native. Lambda. Inputs. Event Source Mapping On Failure 
- The destination configuration for failed invocations.
- OnFailure EventSource Mapping On Failure 
- The destination configuration for failed invocations.
- onFailure EventSource Mapping On Failure 
- The destination configuration for failed invocations.
- onFailure EventSource Mapping On Failure 
- The destination configuration for failed invocations.
- on_failure EventSource Mapping On Failure 
- The destination configuration for failed invocations.
- onFailure Property Map
- The destination configuration for failed invocations.
EventSourceMappingDocumentDbEventSourceConfig, EventSourceMappingDocumentDbEventSourceConfigArgs                
Specific configuration settings for a DocumentDB event source.- CollectionName string
- The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
- DatabaseName string
- The name of the database to consume within the DocumentDB cluster.
- FullDocument Pulumi.Aws Native. Lambda. Event Source Mapping Document Db Event Source Config Full Document 
- Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.
- CollectionName string
- The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
- DatabaseName string
- The name of the database to consume within the DocumentDB cluster.
- FullDocument EventSource Mapping Document Db Event Source Config Full Document 
- Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.
- collectionName String
- The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
- databaseName String
- The name of the database to consume within the DocumentDB cluster.
- fullDocument EventSource Mapping Document Db Event Source Config Full Document 
- Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.
- collectionName string
- The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
- databaseName string
- The name of the database to consume within the DocumentDB cluster.
- fullDocument EventSource Mapping Document Db Event Source Config Full Document 
- Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.
- collection_name str
- The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
- database_name str
- The name of the database to consume within the DocumentDB cluster.
- full_document EventSource Mapping Document Db Event Source Config Full Document 
- Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.
- collectionName String
- The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
- databaseName String
- The name of the database to consume within the DocumentDB cluster.
- fullDocument "UpdateLookup" | "Default" 
- Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.
EventSourceMappingDocumentDbEventSourceConfigFullDocument, EventSourceMappingDocumentDbEventSourceConfigFullDocumentArgs                    
- UpdateLookup 
- UpdateLookup
- Default
- Default
- EventSource Mapping Document Db Event Source Config Full Document Update Lookup 
- UpdateLookup
- EventSource Mapping Document Db Event Source Config Full Document Default 
- Default
- UpdateLookup 
- UpdateLookup
- Default
- Default
- UpdateLookup 
- UpdateLookup
- Default
- Default
- UPDATE_LOOKUP
- UpdateLookup
- DEFAULT
- Default
- "UpdateLookup" 
- UpdateLookup
- "Default"
- Default
EventSourceMappingEndpoints, EventSourceMappingEndpointsArgs        
The list of bootstrap servers for your Kafka brokers in the following format: "KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].- KafkaBootstrap List<string>Servers 
- The list of bootstrap servers for your Kafka brokers in the following format: "KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].
- KafkaBootstrap []stringServers 
- The list of bootstrap servers for your Kafka brokers in the following format: "KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].
- kafkaBootstrap List<String>Servers 
- The list of bootstrap servers for your Kafka brokers in the following format: "KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].
- kafkaBootstrap string[]Servers 
- The list of bootstrap servers for your Kafka brokers in the following format: "KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].
- kafka_bootstrap_ Sequence[str]servers 
- The list of bootstrap servers for your Kafka brokers in the following format: "KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].
- kafkaBootstrap List<String>Servers 
- The list of bootstrap servers for your Kafka brokers in the following format: "KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].
EventSourceMappingFilter, EventSourceMappingFilterArgs        
A structure within a FilterCriteria object that defines an event filtering pattern.- Pattern string
- A filter pattern. For more information on the syntax of a filter pattern, see Filter rule syntax.
- Pattern string
- A filter pattern. For more information on the syntax of a filter pattern, see Filter rule syntax.
- pattern String
- A filter pattern. For more information on the syntax of a filter pattern, see Filter rule syntax.
- pattern string
- A filter pattern. For more information on the syntax of a filter pattern, see Filter rule syntax.
- pattern str
- A filter pattern. For more information on the syntax of a filter pattern, see Filter rule syntax.
- pattern String
- A filter pattern. For more information on the syntax of a filter pattern, see Filter rule syntax.
EventSourceMappingFilterCriteria, EventSourceMappingFilterCriteriaArgs          
An object that contains the filters for an event source.- Filters
List<Pulumi.Aws Native. Lambda. Inputs. Event Source Mapping Filter> 
- A list of filters.
- Filters
[]EventSource Mapping Filter 
- A list of filters.
- filters
List<EventSource Mapping Filter> 
- A list of filters.
- filters
EventSource Mapping Filter[] 
- A list of filters.
- filters
Sequence[EventSource Mapping Filter] 
- A list of filters.
- filters List<Property Map>
- A list of filters.
EventSourceMappingFunctionResponseTypesItem, EventSourceMappingFunctionResponseTypesItemArgs              
- ReportBatch Item Failures 
- ReportBatchItemFailures
- EventSource Mapping Function Response Types Item Report Batch Item Failures 
- ReportBatchItemFailures
- ReportBatch Item Failures 
- ReportBatchItemFailures
- ReportBatch Item Failures 
- ReportBatchItemFailures
- REPORT_BATCH_ITEM_FAILURES
- ReportBatchItemFailures
- "ReportBatch Item Failures" 
- ReportBatchItemFailures
EventSourceMappingMetricsConfig, EventSourceMappingMetricsConfigArgs          
The metrics configuration for your event source. Use this configuration object to define which metrics you want your event source mapping to produce.- Metrics
List<Pulumi.Aws Native. Lambda. Event Source Mapping Metrics Config Metrics Item> 
- The metrics you want your event source mapping to produce. Include EventCountto receive event source mapping metrics related to the number of events processed by your event source mapping. For more information about these metrics, see Event source mapping metrics.
- Metrics
[]EventSource Mapping Metrics Config Metrics Item 
- The metrics you want your event source mapping to produce. Include EventCountto receive event source mapping metrics related to the number of events processed by your event source mapping. For more information about these metrics, see Event source mapping metrics.
- metrics
List<EventSource Mapping Metrics Config Metrics Item> 
- The metrics you want your event source mapping to produce. Include EventCountto receive event source mapping metrics related to the number of events processed by your event source mapping. For more information about these metrics, see Event source mapping metrics.
- metrics
EventSource Mapping Metrics Config Metrics Item[] 
- The metrics you want your event source mapping to produce. Include EventCountto receive event source mapping metrics related to the number of events processed by your event source mapping. For more information about these metrics, see Event source mapping metrics.
- metrics
Sequence[EventSource Mapping Metrics Config Metrics Item] 
- The metrics you want your event source mapping to produce. Include EventCountto receive event source mapping metrics related to the number of events processed by your event source mapping. For more information about these metrics, see Event source mapping metrics.
- metrics
List<"EventCount"> 
- The metrics you want your event source mapping to produce. Include EventCountto receive event source mapping metrics related to the number of events processed by your event source mapping. For more information about these metrics, see Event source mapping metrics.
EventSourceMappingMetricsConfigMetricsItem, EventSourceMappingMetricsConfigMetricsItemArgs              
- EventCount 
- EventCount
- EventSource Mapping Metrics Config Metrics Item Event Count 
- EventCount
- EventCount 
- EventCount
- EventCount 
- EventCount
- EVENT_COUNT
- EventCount
- "EventCount" 
- EventCount
EventSourceMappingOnFailure, EventSourceMappingOnFailureArgs          
A destination for events that failed processing. For more information, see Adding a destination.- Destination string
- The Amazon Resource Name (ARN) of the destination resource. To retain records of unsuccessful asynchronous invocations, you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, Lambda function, or Amazon EventBridge event bus as the destination. To retain records of failed invocations from Kinesis, DynamoDB, self-managed Kafka or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
- Destination string
- The Amazon Resource Name (ARN) of the destination resource. To retain records of unsuccessful asynchronous invocations, you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, Lambda function, or Amazon EventBridge event bus as the destination. To retain records of failed invocations from Kinesis, DynamoDB, self-managed Kafka or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
- destination String
- The Amazon Resource Name (ARN) of the destination resource. To retain records of unsuccessful asynchronous invocations, you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, Lambda function, or Amazon EventBridge event bus as the destination. To retain records of failed invocations from Kinesis, DynamoDB, self-managed Kafka or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
- destination string
- The Amazon Resource Name (ARN) of the destination resource. To retain records of unsuccessful asynchronous invocations, you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, Lambda function, or Amazon EventBridge event bus as the destination. To retain records of failed invocations from Kinesis, DynamoDB, self-managed Kafka or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
- destination str
- The Amazon Resource Name (ARN) of the destination resource. To retain records of unsuccessful asynchronous invocations, you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, Lambda function, or Amazon EventBridge event bus as the destination. To retain records of failed invocations from Kinesis, DynamoDB, self-managed Kafka or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
- destination String
- The Amazon Resource Name (ARN) of the destination resource. To retain records of unsuccessful asynchronous invocations, you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, Lambda function, or Amazon EventBridge event bus as the destination. To retain records of failed invocations from Kinesis, DynamoDB, self-managed Kafka or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
EventSourceMappingProvisionedPollerConfig, EventSourceMappingProvisionedPollerConfigArgs            
The provisioned mode configuration for the event source. Use provisioned mode to customize the minimum and maximum number of event pollers for your event source.- MaximumPollers int
- The maximum number of event pollers this event source can scale up to.
- MinimumPollers int
- The minimum number of event pollers this event source can scale down to.
- MaximumPollers int
- The maximum number of event pollers this event source can scale up to.
- MinimumPollers int
- The minimum number of event pollers this event source can scale down to.
- maximumPollers Integer
- The maximum number of event pollers this event source can scale up to.
- minimumPollers Integer
- The minimum number of event pollers this event source can scale down to.
- maximumPollers number
- The maximum number of event pollers this event source can scale up to.
- minimumPollers number
- The minimum number of event pollers this event source can scale down to.
- maximum_pollers int
- The maximum number of event pollers this event source can scale up to.
- minimum_pollers int
- The minimum number of event pollers this event source can scale down to.
- maximumPollers Number
- The maximum number of event pollers this event source can scale up to.
- minimumPollers Number
- The minimum number of event pollers this event source can scale down to.
EventSourceMappingScalingConfig, EventSourceMappingScalingConfigArgs          
(Amazon SQS only) The scaling configuration for the event source. To remove the configuration, pass an empty value.- MaximumConcurrency int
- Limits the number of concurrent instances that the SQS event source can invoke.
- MaximumConcurrency int
- Limits the number of concurrent instances that the SQS event source can invoke.
- maximumConcurrency Integer
- Limits the number of concurrent instances that the SQS event source can invoke.
- maximumConcurrency number
- Limits the number of concurrent instances that the SQS event source can invoke.
- maximum_concurrency int
- Limits the number of concurrent instances that the SQS event source can invoke.
- maximumConcurrency Number
- Limits the number of concurrent instances that the SQS event source can invoke.
EventSourceMappingSchemaRegistryAccessConfig, EventSourceMappingSchemaRegistryAccessConfigArgs              
Specific access configuration settings that tell Lambda how to authenticate with your schema registry.
If you're working with an GLU schema registry, don't provide authentication details in this object. Instead, ensure that your execution role has the required permissions for Lambda to access your cluster.
If you're working with a Confluent schema registry, choose the authentication method in the Type field, and provide the ASMlong secret ARN in the URI field.- Type
Pulumi.Aws Native. Lambda. Event Source Mapping Schema Registry Access Config Type 
- The type of authentication Lambda uses to access your schema registry.
- Uri string
- The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.
- Type
EventSource Mapping Schema Registry Access Config Type 
- The type of authentication Lambda uses to access your schema registry.
- Uri string
- The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.
- type
EventSource Mapping Schema Registry Access Config Type 
- The type of authentication Lambda uses to access your schema registry.
- uri String
- The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.
- type
EventSource Mapping Schema Registry Access Config Type 
- The type of authentication Lambda uses to access your schema registry.
- uri string
- The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.
- type
EventSource Mapping Schema Registry Access Config Type 
- The type of authentication Lambda uses to access your schema registry.
- uri str
- The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.
- type "BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE"
- The type of authentication Lambda uses to access your schema registry.
- uri String
- The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.
EventSourceMappingSchemaRegistryAccessConfigType, EventSourceMappingSchemaRegistryAccessConfigTypeArgs                
- BasicAuth 
- BASIC_AUTH
- ClientCertificate Tls Auth 
- CLIENT_CERTIFICATE_TLS_AUTH
- ServerRoot Ca Certificate 
- SERVER_ROOT_CA_CERTIFICATE
- EventSource Mapping Schema Registry Access Config Type Basic Auth 
- BASIC_AUTH
- EventSource Mapping Schema Registry Access Config Type Client Certificate Tls Auth 
- CLIENT_CERTIFICATE_TLS_AUTH
- EventSource Mapping Schema Registry Access Config Type Server Root Ca Certificate 
- SERVER_ROOT_CA_CERTIFICATE
- BasicAuth 
- BASIC_AUTH
- ClientCertificate Tls Auth 
- CLIENT_CERTIFICATE_TLS_AUTH
- ServerRoot Ca Certificate 
- SERVER_ROOT_CA_CERTIFICATE
- BasicAuth 
- BASIC_AUTH
- ClientCertificate Tls Auth 
- CLIENT_CERTIFICATE_TLS_AUTH
- ServerRoot Ca Certificate 
- SERVER_ROOT_CA_CERTIFICATE
- BASIC_AUTH
- BASIC_AUTH
- CLIENT_CERTIFICATE_TLS_AUTH
- CLIENT_CERTIFICATE_TLS_AUTH
- SERVER_ROOT_CA_CERTIFICATE
- SERVER_ROOT_CA_CERTIFICATE
- "BASIC_AUTH"
- BASIC_AUTH
- "CLIENT_CERTIFICATE_TLS_AUTH"
- CLIENT_CERTIFICATE_TLS_AUTH
- "SERVER_ROOT_CA_CERTIFICATE"
- SERVER_ROOT_CA_CERTIFICATE
EventSourceMappingSchemaRegistryConfig, EventSourceMappingSchemaRegistryConfigArgs            
Specific configuration settings for a Kafka schema registry.- AccessConfigs List<Pulumi.Aws Native. Lambda. Inputs. Event Source Mapping Schema Registry Access Config> 
- An array of access configuration objects that tell Lambda how to authenticate with your schema registry.
- EventRecord Pulumi.Format Aws Native. Lambda. Event Source Mapping Schema Registry Config Event Record Format 
- The record format that Lambda delivers to your function after schema validation.- Choose JSONto have Lambda deliver the record to your function as a standard JSON object.
- Choose SOURCEto have Lambda deliver the record to your function in its original source format. Lambda removes all schema metadata, such as the schema ID, before sending the record to your function.
 
- Choose 
- SchemaRegistry stringUri 
- The URI for your schema registry. The correct URI format depends on the type of schema registry you're using.- For GLU schema registries, use the ARN of the registry.
- For Confluent schema registries, use the URL of the registry.
 
- SchemaValidation List<Pulumi.Configs Aws Native. Lambda. Inputs. Event Source Mapping Schema Validation Config> 
- An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.
- AccessConfigs []EventSource Mapping Schema Registry Access Config 
- An array of access configuration objects that tell Lambda how to authenticate with your schema registry.
- EventRecord EventFormat Source Mapping Schema Registry Config Event Record Format 
- The record format that Lambda delivers to your function after schema validation.- Choose JSONto have Lambda deliver the record to your function as a standard JSON object.
- Choose SOURCEto have Lambda deliver the record to your function in its original source format. Lambda removes all schema metadata, such as the schema ID, before sending the record to your function.
 
- Choose 
- SchemaRegistry stringUri 
- The URI for your schema registry. The correct URI format depends on the type of schema registry you're using.- For GLU schema registries, use the ARN of the registry.
- For Confluent schema registries, use the URL of the registry.
 
- SchemaValidation []EventConfigs Source Mapping Schema Validation Config 
- An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.
- accessConfigs List<EventSource Mapping Schema Registry Access Config> 
- An array of access configuration objects that tell Lambda how to authenticate with your schema registry.
- eventRecord EventFormat Source Mapping Schema Registry Config Event Record Format 
- The record format that Lambda delivers to your function after schema validation.- Choose JSONto have Lambda deliver the record to your function as a standard JSON object.
- Choose SOURCEto have Lambda deliver the record to your function in its original source format. Lambda removes all schema metadata, such as the schema ID, before sending the record to your function.
 
- Choose 
- schemaRegistry StringUri 
- The URI for your schema registry. The correct URI format depends on the type of schema registry you're using.- For GLU schema registries, use the ARN of the registry.
- For Confluent schema registries, use the URL of the registry.
 
- schemaValidation List<EventConfigs Source Mapping Schema Validation Config> 
- An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.
- accessConfigs EventSource Mapping Schema Registry Access Config[] 
- An array of access configuration objects that tell Lambda how to authenticate with your schema registry.
- eventRecord EventFormat Source Mapping Schema Registry Config Event Record Format 
- The record format that Lambda delivers to your function after schema validation.- Choose JSONto have Lambda deliver the record to your function as a standard JSON object.
- Choose SOURCEto have Lambda deliver the record to your function in its original source format. Lambda removes all schema metadata, such as the schema ID, before sending the record to your function.
 
- Choose 
- schemaRegistry stringUri 
- The URI for your schema registry. The correct URI format depends on the type of schema registry you're using.- For GLU schema registries, use the ARN of the registry.
- For Confluent schema registries, use the URL of the registry.
 
- schemaValidation EventConfigs Source Mapping Schema Validation Config[] 
- An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.
- access_configs Sequence[EventSource Mapping Schema Registry Access Config] 
- An array of access configuration objects that tell Lambda how to authenticate with your schema registry.
- event_record_ Eventformat Source Mapping Schema Registry Config Event Record Format 
- The record format that Lambda delivers to your function after schema validation.- Choose JSONto have Lambda deliver the record to your function as a standard JSON object.
- Choose SOURCEto have Lambda deliver the record to your function in its original source format. Lambda removes all schema metadata, such as the schema ID, before sending the record to your function.
 
- Choose 
- schema_registry_ struri 
- The URI for your schema registry. The correct URI format depends on the type of schema registry you're using.- For GLU schema registries, use the ARN of the registry.
- For Confluent schema registries, use the URL of the registry.
 
- schema_validation_ Sequence[Eventconfigs Source Mapping Schema Validation Config] 
- An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.
- accessConfigs List<Property Map>
- An array of access configuration objects that tell Lambda how to authenticate with your schema registry.
- eventRecord "JSON" | "SOURCE"Format 
- The record format that Lambda delivers to your function after schema validation.- Choose JSONto have Lambda deliver the record to your function as a standard JSON object.
- Choose SOURCEto have Lambda deliver the record to your function in its original source format. Lambda removes all schema metadata, such as the schema ID, before sending the record to your function.
 
- Choose 
- schemaRegistry StringUri 
- The URI for your schema registry. The correct URI format depends on the type of schema registry you're using.- For GLU schema registries, use the ARN of the registry.
- For Confluent schema registries, use the URL of the registry.
 
- schemaValidation List<Property Map>Configs 
- An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.
EventSourceMappingSchemaRegistryConfigEventRecordFormat, EventSourceMappingSchemaRegistryConfigEventRecordFormatArgs                  
- Json
- JSON
- Source
- SOURCE
- EventSource Mapping Schema Registry Config Event Record Format Json 
- JSON
- EventSource Mapping Schema Registry Config Event Record Format Source 
- SOURCE
- Json
- JSON
- Source
- SOURCE
- Json
- JSON
- Source
- SOURCE
- JSON
- JSON
- SOURCE
- SOURCE
- "JSON"
- JSON
- "SOURCE"
- SOURCE
EventSourceMappingSchemaValidationConfig, EventSourceMappingSchemaValidationConfigArgs            
Specific schema validation configuration settings that tell Lambda the message attributes you want to validate and filter using your schema registry.- Attribute
Pulumi.Aws Native. Lambda. Event Source Mapping Schema Validation Config Attribute 
- The attributes you want your schema registry to validate and filter for. If you selected JSONas theEventRecordFormat, Lambda also deserializes the selected message attributes.
- Attribute
EventSource Mapping Schema Validation Config Attribute 
- The attributes you want your schema registry to validate and filter for. If you selected JSONas theEventRecordFormat, Lambda also deserializes the selected message attributes.
- attribute
EventSource Mapping Schema Validation Config Attribute 
- The attributes you want your schema registry to validate and filter for. If you selected JSONas theEventRecordFormat, Lambda also deserializes the selected message attributes.
- attribute
EventSource Mapping Schema Validation Config Attribute 
- The attributes you want your schema registry to validate and filter for. If you selected JSONas theEventRecordFormat, Lambda also deserializes the selected message attributes.
- attribute
EventSource Mapping Schema Validation Config Attribute 
- The attributes you want your schema registry to validate and filter for. If you selected JSONas theEventRecordFormat, Lambda also deserializes the selected message attributes.
- attribute "KEY" | "VALUE"
- The attributes you want your schema registry to validate and filter for. If you selected JSONas theEventRecordFormat, Lambda also deserializes the selected message attributes.
EventSourceMappingSchemaValidationConfigAttribute, EventSourceMappingSchemaValidationConfigAttributeArgs              
- Key
- KEY
- Value
- VALUE
- EventSource Mapping Schema Validation Config Attribute Key 
- KEY
- EventSource Mapping Schema Validation Config Attribute Value 
- VALUE
- Key
- KEY
- Value
- VALUE
- Key
- KEY
- Value
- VALUE
- KEY
- KEY
- VALUE
- VALUE
- "KEY"
- KEY
- "VALUE"
- VALUE
EventSourceMappingSelfManagedEventSource, EventSourceMappingSelfManagedEventSourceArgs              
The self-managed Apache Kafka cluster for your event source.- Endpoints
Pulumi.Aws Native. Lambda. Inputs. Event Source Mapping Endpoints 
- The list of bootstrap servers for your Kafka brokers in the following format: "KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].
- Endpoints
EventSource Mapping Endpoints 
- The list of bootstrap servers for your Kafka brokers in the following format: "KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].
- endpoints
EventSource Mapping Endpoints 
- The list of bootstrap servers for your Kafka brokers in the following format: "KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].
- endpoints
EventSource Mapping Endpoints 
- The list of bootstrap servers for your Kafka brokers in the following format: "KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].
- endpoints
EventSource Mapping Endpoints 
- The list of bootstrap servers for your Kafka brokers in the following format: "KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].
- endpoints Property Map
- The list of bootstrap servers for your Kafka brokers in the following format: "KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].
EventSourceMappingSelfManagedKafkaEventSourceConfig, EventSourceMappingSelfManagedKafkaEventSourceConfigArgs                  
Specific configuration settings for a self-managed Apache Kafka event source.- ConsumerGroup stringId 
- 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.
- SchemaRegistry Pulumi.Config Aws Native. Lambda. Inputs. Event Source Mapping Schema Registry Config 
- Specific configuration settings for a Kafka schema registry.
- ConsumerGroup stringId 
- 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.
- SchemaRegistry EventConfig Source Mapping Schema Registry Config 
- Specific configuration settings for a Kafka schema registry.
- consumerGroup StringId 
- 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.
- schemaRegistry EventConfig Source Mapping Schema Registry Config 
- Specific configuration settings for a Kafka schema registry.
- consumerGroup stringId 
- 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.
- schemaRegistry EventConfig Source Mapping Schema Registry Config 
- Specific configuration settings for a Kafka schema registry.
- consumer_group_ strid 
- 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.
- schema_registry_ Eventconfig Source Mapping Schema Registry Config 
- Specific configuration settings for a Kafka schema registry.
- consumerGroup StringId 
- 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.
- schemaRegistry Property MapConfig 
- Specific configuration settings for a Kafka schema registry.
EventSourceMappingSourceAccessConfiguration, EventSourceMappingSourceAccessConfigurationArgs            
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.- Type
Pulumi.Aws Native. Lambda. Event Source Mapping Source Access Configuration Type 
- The type of authentication protocol, VPC components, or virtual host for your event source. For example: "Type":"SASL_SCRAM_512_AUTH".- BASIC_AUTH– (Amazon MQ) The ASMlong secret that stores your broker credentials.
- BASIC_AUTH– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.
- VPC_SUBNET– (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.
- VPC_SECURITY_GROUP– (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers.
- SASL_SCRAM_256_AUTH– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.
- SASL_SCRAM_512_AUTH– (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.
- VIRTUAL_HOST–- (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. This property cannot be specified in an UpdateEventSourceMapping API call.
- CLIENT_CERTIFICATE_TLS_AUTH– (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.
- SERVER_ROOT_CA_CERTIFICATE– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.
 
- Uri string
- The value for your chosen configuration in Type. For example:"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName".
- Type
EventSource Mapping Source Access Configuration Type 
- The type of authentication protocol, VPC components, or virtual host for your event source. For example: "Type":"SASL_SCRAM_512_AUTH".- BASIC_AUTH– (Amazon MQ) The ASMlong secret that stores your broker credentials.
- BASIC_AUTH– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.
- VPC_SUBNET– (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.
- VPC_SECURITY_GROUP– (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers.
- SASL_SCRAM_256_AUTH– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.
- SASL_SCRAM_512_AUTH– (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.
- VIRTUAL_HOST–- (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. This property cannot be specified in an UpdateEventSourceMapping API call.
- CLIENT_CERTIFICATE_TLS_AUTH– (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.
- SERVER_ROOT_CA_CERTIFICATE– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.
 
- Uri string
- The value for your chosen configuration in Type. For example:"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName".
- type
EventSource Mapping Source Access Configuration Type 
- The type of authentication protocol, VPC components, or virtual host for your event source. For example: "Type":"SASL_SCRAM_512_AUTH".- BASIC_AUTH– (Amazon MQ) The ASMlong secret that stores your broker credentials.
- BASIC_AUTH– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.
- VPC_SUBNET– (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.
- VPC_SECURITY_GROUP– (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers.
- SASL_SCRAM_256_AUTH– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.
- SASL_SCRAM_512_AUTH– (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.
- VIRTUAL_HOST–- (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. This property cannot be specified in an UpdateEventSourceMapping API call.
- CLIENT_CERTIFICATE_TLS_AUTH– (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.
- SERVER_ROOT_CA_CERTIFICATE– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.
 
- uri String
- The value for your chosen configuration in Type. For example:"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName".
- type
EventSource Mapping Source Access Configuration Type 
- The type of authentication protocol, VPC components, or virtual host for your event source. For example: "Type":"SASL_SCRAM_512_AUTH".- BASIC_AUTH– (Amazon MQ) The ASMlong secret that stores your broker credentials.
- BASIC_AUTH– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.
- VPC_SUBNET– (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.
- VPC_SECURITY_GROUP– (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers.
- SASL_SCRAM_256_AUTH– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.
- SASL_SCRAM_512_AUTH– (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.
- VIRTUAL_HOST–- (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. This property cannot be specified in an UpdateEventSourceMapping API call.
- CLIENT_CERTIFICATE_TLS_AUTH– (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.
- SERVER_ROOT_CA_CERTIFICATE– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.
 
- uri string
- The value for your chosen configuration in Type. For example:"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName".
- type
EventSource Mapping Source Access Configuration Type 
- The type of authentication protocol, VPC components, or virtual host for your event source. For example: "Type":"SASL_SCRAM_512_AUTH".- BASIC_AUTH– (Amazon MQ) The ASMlong secret that stores your broker credentials.
- BASIC_AUTH– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.
- VPC_SUBNET– (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.
- VPC_SECURITY_GROUP– (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers.
- SASL_SCRAM_256_AUTH– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.
- SASL_SCRAM_512_AUTH– (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.
- VIRTUAL_HOST–- (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. This property cannot be specified in an UpdateEventSourceMapping API call.
- CLIENT_CERTIFICATE_TLS_AUTH– (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.
- SERVER_ROOT_CA_CERTIFICATE– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.
 
- uri str
- The value for your chosen configuration in Type. For example:"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName".
- type "BASIC_AUTH" | "VPC_SUBNET" | "VPC_SECURITY_GROUP" | "SASL_SCRAM_512_AUTH" | "SASL_SCRAM_256_AUTH" | "VIRTUAL_HOST" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE"
- The type of authentication protocol, VPC components, or virtual host for your event source. For example: "Type":"SASL_SCRAM_512_AUTH".- BASIC_AUTH– (Amazon MQ) The ASMlong secret that stores your broker credentials.
- BASIC_AUTH– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.
- VPC_SUBNET– (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.
- VPC_SECURITY_GROUP– (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers.
- SASL_SCRAM_256_AUTH– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.
- SASL_SCRAM_512_AUTH– (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.
- VIRTUAL_HOST–- (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. This property cannot be specified in an UpdateEventSourceMapping API call.
- CLIENT_CERTIFICATE_TLS_AUTH– (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.
- SERVER_ROOT_CA_CERTIFICATE– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.
 
- uri String
- The value for your chosen configuration in Type. For example:"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName".
EventSourceMappingSourceAccessConfigurationType, EventSourceMappingSourceAccessConfigurationTypeArgs              
- BasicAuth 
- BASIC_AUTH
- VpcSubnet 
- VPC_SUBNET
- VpcSecurity Group 
- VPC_SECURITY_GROUP
- SaslScram512Auth 
- SASL_SCRAM_512_AUTH
- SaslScram256Auth 
- SASL_SCRAM_256_AUTH
- VirtualHost 
- VIRTUAL_HOST
- ClientCertificate Tls Auth 
- CLIENT_CERTIFICATE_TLS_AUTH
- ServerRoot Ca Certificate 
- SERVER_ROOT_CA_CERTIFICATE
- EventSource Mapping Source Access Configuration Type Basic Auth 
- BASIC_AUTH
- EventSource Mapping Source Access Configuration Type Vpc Subnet 
- VPC_SUBNET
- EventSource Mapping Source Access Configuration Type Vpc Security Group 
- VPC_SECURITY_GROUP
- EventSource Mapping Source Access Configuration Type Sasl Scram512Auth 
- SASL_SCRAM_512_AUTH
- EventSource Mapping Source Access Configuration Type Sasl Scram256Auth 
- SASL_SCRAM_256_AUTH
- EventSource Mapping Source Access Configuration Type Virtual Host 
- VIRTUAL_HOST
- EventSource Mapping Source Access Configuration Type Client Certificate Tls Auth 
- CLIENT_CERTIFICATE_TLS_AUTH
- EventSource Mapping Source Access Configuration Type Server Root Ca Certificate 
- SERVER_ROOT_CA_CERTIFICATE
- BasicAuth 
- BASIC_AUTH
- VpcSubnet 
- VPC_SUBNET
- VpcSecurity Group 
- VPC_SECURITY_GROUP
- SaslScram512Auth 
- SASL_SCRAM_512_AUTH
- SaslScram256Auth 
- SASL_SCRAM_256_AUTH
- VirtualHost 
- VIRTUAL_HOST
- ClientCertificate Tls Auth 
- CLIENT_CERTIFICATE_TLS_AUTH
- ServerRoot Ca Certificate 
- SERVER_ROOT_CA_CERTIFICATE
- BasicAuth 
- BASIC_AUTH
- VpcSubnet 
- VPC_SUBNET
- VpcSecurity Group 
- VPC_SECURITY_GROUP
- SaslScram512Auth 
- SASL_SCRAM_512_AUTH
- SaslScram256Auth 
- SASL_SCRAM_256_AUTH
- VirtualHost 
- VIRTUAL_HOST
- ClientCertificate Tls Auth 
- CLIENT_CERTIFICATE_TLS_AUTH
- ServerRoot Ca Certificate 
- SERVER_ROOT_CA_CERTIFICATE
- BASIC_AUTH
- BASIC_AUTH
- VPC_SUBNET
- VPC_SUBNET
- VPC_SECURITY_GROUP
- VPC_SECURITY_GROUP
- SASL_SCRAM512_AUTH
- SASL_SCRAM_512_AUTH
- SASL_SCRAM256_AUTH
- SASL_SCRAM_256_AUTH
- VIRTUAL_HOST
- VIRTUAL_HOST
- CLIENT_CERTIFICATE_TLS_AUTH
- CLIENT_CERTIFICATE_TLS_AUTH
- SERVER_ROOT_CA_CERTIFICATE
- SERVER_ROOT_CA_CERTIFICATE
- "BASIC_AUTH"
- BASIC_AUTH
- "VPC_SUBNET"
- VPC_SUBNET
- "VPC_SECURITY_GROUP"
- VPC_SECURITY_GROUP
- "SASL_SCRAM_512_AUTH"
- SASL_SCRAM_512_AUTH
- "SASL_SCRAM_256_AUTH"
- SASL_SCRAM_256_AUTH
- "VIRTUAL_HOST"
- VIRTUAL_HOST
- "CLIENT_CERTIFICATE_TLS_AUTH"
- CLIENT_CERTIFICATE_TLS_AUTH
- "SERVER_ROOT_CA_CERTIFICATE"
- SERVER_ROOT_CA_CERTIFICATE
Tag, TagArgs  
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
