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.
Using getEventSourceMapping
Two invocation forms are available. The direct form accepts plain
arguments and either blocks until the result value is available, or
returns a Promise-wrapped result. The output form accepts
Input-wrapped arguments and returns an Output-wrapped result.
def get_event_source_mapping(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEventSourceMappingResult
def get_event_source_mapping_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetEventSourceMappingResult]
> Note: This function is named LookupEventSourceMapping in the Go SDK.
fn::invoke:
function: aws-native:lambda:getEventSourceMapping
arguments:
# arguments dictionary
data "aws-native_lambda_get_event_source_mapping" "name" {
# arguments
}
The following arguments are supported:
- Id
string
- The event source mapping's ID.
- Id
string
- The event source mapping's ID.
- id
string
- The event source mapping's ID.
- id
String
- The event source mapping's ID.
- id
string
- The event source mapping's ID.
- id
str
- The event source mapping's ID.
- id
String
- The event source mapping's ID.
getEventSourceMapping Result
The following output properties are available:
- AmazonManagedKafkaEventSourceConfig
Pulumi.AwsNative.Lambda.Outputs.EventSourceMappingAmazonManagedKafkaEventSourceConfig
- 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.
- BisectBatchOnFunctionError
bool
- (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 the BatchSize parameter in the OnFailure destination message's metadata. The BatchSize could be greater than 1 since LAM consolidates failed messages metadata when writing to the OnFailure destination. - DestinationConfig
Pulumi.AwsNative.Lambda.Outputs.EventSourceMappingDestinationConfig
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A configuration object that specifies the destination of an event after Lambda processes it.
- DocumentDbEventSourceConfig
Pulumi.AwsNative.Lambda.Outputs.EventSourceMappingDocumentDbEventSourceConfig
- 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
- EventSourceMappingArn
string
- The Amazon Resource Name (ARN) of the event source mapping.
- FilterCriteria
Pulumi.AwsNative.Lambda.Outputs.EventSourceMappingFilterCriteria
- An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
- 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.
- FunctionResponseTypes
List<Pulumi.AwsNative.Lambda.EventSourceMappingFunctionResponseTypesItem>
- (Kinesis, DynamoDB Streams, and SQS) A list of current response type enums applied to the event source mapping.
Valid Values:
ReportBatchItemFailures - Id
string
- The event source mapping's ID.
- KmsKeyArn
string
- The ARN of the KMSlong (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
- LoggingConfig
Pulumi.AwsNative.Lambda.Outputs.EventSourceMappingLoggingConfig
- (Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. For more information, see Event source mapping logging.
- MaximumBatchingWindowInSeconds
int
- 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
BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1. - MaximumRecordAgeInSeconds
int
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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
- MaximumRetryAttempts
int
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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.AwsNative.Lambda.Outputs.EventSourceMappingMetricsConfig
- 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.
- ProvisionedPollerConfig
Pulumi.AwsNative.Lambda.Outputs.EventSourceMappingProvisionedPollerConfig
- (Amazon SQS, 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.AwsNative.Lambda.Outputs.EventSourceMappingScalingConfig
- This property is for Amazon SQS event sources only. You cannot use
ProvisionedPollerConfig while using ScalingConfig. These options are mutually exclusive. To remove the scaling configuration, pass an empty value. - SelfManagedKafkaEventSourceConfig
Pulumi.AwsNative.Lambda.Outputs.EventSourceMappingSelfManagedKafkaEventSourceConfig
- Specific configuration settings for a self-managed Apache Kafka event source.
- SourceAccessConfigurations
List<Pulumi.AwsNative.Lambda.Outputs.EventSourceMappingSourceAccessConfiguration>
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
- Tags
List<Pulumi.AwsNative.Outputs.Tag>
- A list of tags to add to the event source mapping.
You must have the
lambda:TagResource, lambda:UntagResource, and lambda:ListTags permissions 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.
- TumblingWindowInSeconds
int
- (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.
- AmazonManagedKafkaEventSourceConfig
EventSourceMappingAmazonManagedKafkaEventSourceConfig
- 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.
- BisectBatchOnFunctionError
bool
- (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 the BatchSize parameter in the OnFailure destination message's metadata. The BatchSize could be greater than 1 since LAM consolidates failed messages metadata when writing to the OnFailure destination. - DestinationConfig
EventSourceMappingDestinationConfig
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A configuration object that specifies the destination of an event after Lambda processes it.
- DocumentDbEventSourceConfig
EventSourceMappingDocumentDbEventSourceConfig
- 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
- EventSourceMappingArn
string
- The Amazon Resource Name (ARN) of the event source mapping.
- FilterCriteria
EventSourceMappingFilterCriteria
- An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
- 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.
- FunctionResponseTypes
[]EventSourceMappingFunctionResponseTypesItem
- (Kinesis, DynamoDB Streams, and SQS) A list of current response type enums applied to the event source mapping.
Valid Values:
ReportBatchItemFailures - Id
string
- The event source mapping's ID.
- KmsKeyArn
string
- The ARN of the KMSlong (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
- LoggingConfig
EventSourceMappingLoggingConfig
- (Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. For more information, see Event source mapping logging.
- MaximumBatchingWindowInSeconds
int
- 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
BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1. - MaximumRecordAgeInSeconds
int
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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
- MaximumRetryAttempts
int
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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
EventSourceMappingMetricsConfig
- 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.
- ProvisionedPollerConfig
EventSourceMappingProvisionedPollerConfig
- (Amazon SQS, 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
EventSourceMappingScalingConfig
- This property is for Amazon SQS event sources only. You cannot use
ProvisionedPollerConfig while using ScalingConfig. These options are mutually exclusive. To remove the scaling configuration, pass an empty value. - SelfManagedKafkaEventSourceConfig
EventSourceMappingSelfManagedKafkaEventSourceConfig
- Specific configuration settings for a self-managed Apache Kafka event source.
- SourceAccessConfigurations
[]EventSourceMappingSourceAccessConfiguration
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
- Tags
Tag
- A list of tags to add to the event source mapping.
You must have the
lambda:TagResource, lambda:UntagResource, and lambda:ListTags permissions 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.
- TumblingWindowInSeconds
int
- (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.
- amazon_managed_kafka_event_source_config
object
- Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
- batch_size
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.
- bisect_batch_on_function_error
bool
- (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 the BatchSize parameter in the OnFailure destination message's metadata. The BatchSize could be greater than 1 since LAM consolidates failed messages metadata when writing to the OnFailure destination. - destination_config
object
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A configuration object that specifies the destination of an event after Lambda processes it.
- document_db_event_source_config
object
- 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_mapping_arn
string
- The Amazon Resource Name (ARN) of the event source mapping.
- filter_criteria
object
- An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
- function_name
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_response_types
list("ReportBatchItemFailures")
- (Kinesis, DynamoDB Streams, and SQS) A list of current response type enums applied to the event source mapping.
Valid Values:
ReportBatchItemFailures - id
string
- The event source mapping's ID.
- kms_key_arn
string
- The ARN of the KMSlong (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
- logging_config
object
- (Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. For more information, see Event source mapping logging.
- maximum_batching_window_in_seconds
number
- 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
BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1. - maximum_record_age_in_seconds
number
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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_attempts
number
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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
object
- The metrics configuration for your event source. For more information, see Event source mapping metrics.
- parallelization_factor
number
- (Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The default value is 1.
- provisioned_poller_config
object
- (Amazon SQS, 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.
- scaling_config
object
- This property is for Amazon SQS event sources only. You cannot use
ProvisionedPollerConfig while using ScalingConfig. These options are mutually exclusive. To remove the scaling configuration, pass an empty value. - self_managed_kafka_event_source_config
object
- Specific configuration settings for a self-managed Apache Kafka event source.
- source_access_configurations
list(object)
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
- tags
list(object)
- A list of tags to add to the event source mapping.
You must have the
lambda:TagResource, lambda:UntagResource, and lambda:ListTags permissions 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.
- tumbling_window_in_seconds
number
- (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.
- amazonManagedKafkaEventSourceConfig
EventSourceMappingAmazonManagedKafkaEventSourceConfig
- 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.
- bisectBatchOnFunctionError
Boolean
- (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 the BatchSize parameter in the OnFailure destination message's metadata. The BatchSize could be greater than 1 since LAM consolidates failed messages metadata when writing to the OnFailure destination. - destinationConfig
EventSourceMappingDestinationConfig
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A configuration object that specifies the destination of an event after Lambda processes it.
- documentDbEventSourceConfig
EventSourceMappingDocumentDbEventSourceConfig
- 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
- eventSourceMappingArn
String
- The Amazon Resource Name (ARN) of the event source mapping.
- filterCriteria
EventSourceMappingFilterCriteria
- An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
- 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.
- functionResponseTypes
List<EventSourceMappingFunctionResponseTypesItem>
- (Kinesis, DynamoDB Streams, and SQS) A list of current response type enums applied to the event source mapping.
Valid Values:
ReportBatchItemFailures - id
String
- The event source mapping's ID.
- kmsKeyArn
String
- The ARN of the KMSlong (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
- loggingConfig
EventSourceMappingLoggingConfig
- (Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. For more information, see Event source mapping logging.
- maximumBatchingWindowInSeconds
Integer
- 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
BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1. - maximumRecordAgeInSeconds
Integer
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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
- maximumRetryAttempts
Integer
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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
EventSourceMappingMetricsConfig
- 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.
- provisionedPollerConfig
EventSourceMappingProvisionedPollerConfig
- (Amazon SQS, 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
EventSourceMappingScalingConfig
- This property is for Amazon SQS event sources only. You cannot use
ProvisionedPollerConfig while using ScalingConfig. These options are mutually exclusive. To remove the scaling configuration, pass an empty value. - selfManagedKafkaEventSourceConfig
EventSourceMappingSelfManagedKafkaEventSourceConfig
- Specific configuration settings for a self-managed Apache Kafka event source.
- sourceAccessConfigurations
List<EventSourceMappingSourceAccessConfiguration>
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
- tags
List<Tag>
- A list of tags to add to the event source mapping.
You must have the
lambda:TagResource, lambda:UntagResource, and lambda:ListTags permissions 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.
- tumblingWindowInSeconds
Integer
- (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.
- amazonManagedKafkaEventSourceConfig
EventSourceMappingAmazonManagedKafkaEventSourceConfig
- 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.
- bisectBatchOnFunctionError
boolean
- (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 the BatchSize parameter in the OnFailure destination message's metadata. The BatchSize could be greater than 1 since LAM consolidates failed messages metadata when writing to the OnFailure destination. - destinationConfig
EventSourceMappingDestinationConfig
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A configuration object that specifies the destination of an event after Lambda processes it.
- documentDbEventSourceConfig
EventSourceMappingDocumentDbEventSourceConfig
- 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
- eventSourceMappingArn
string
- The Amazon Resource Name (ARN) of the event source mapping.
- filterCriteria
EventSourceMappingFilterCriteria
- An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
- 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.
- functionResponseTypes
EventSourceMappingFunctionResponseTypesItem[]
- (Kinesis, DynamoDB Streams, and SQS) A list of current response type enums applied to the event source mapping.
Valid Values:
ReportBatchItemFailures - id
string
- The event source mapping's ID.
- kmsKeyArn
string
- The ARN of the KMSlong (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
- loggingConfig
EventSourceMappingLoggingConfig
- (Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. For more information, see Event source mapping logging.
- maximumBatchingWindowInSeconds
number
- 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
BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1. - maximumRecordAgeInSeconds
number
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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
- maximumRetryAttempts
number
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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
EventSourceMappingMetricsConfig
- 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.
- provisionedPollerConfig
EventSourceMappingProvisionedPollerConfig
- (Amazon SQS, 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
EventSourceMappingScalingConfig
- This property is for Amazon SQS event sources only. You cannot use
ProvisionedPollerConfig while using ScalingConfig. These options are mutually exclusive. To remove the scaling configuration, pass an empty value. - selfManagedKafkaEventSourceConfig
EventSourceMappingSelfManagedKafkaEventSourceConfig
- Specific configuration settings for a self-managed Apache Kafka event source.
- sourceAccessConfigurations
EventSourceMappingSourceAccessConfiguration[]
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
- tags
Tag[]
- A list of tags to add to the event source mapping.
You must have the
lambda:TagResource, lambda:UntagResource, and lambda:ListTags permissions 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.
- tumblingWindowInSeconds
number
- (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.
- amazon_managed_kafka_event_source_config
EventSourceMappingAmazonManagedKafkaEventSourceConfig
- 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_on_function_error
bool
- (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 the BatchSize parameter in the OnFailure destination message's metadata. The BatchSize could be greater than 1 since LAM consolidates failed messages metadata when writing to the OnFailure destination. - destination_config
EventSourceMappingDestinationConfig
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A configuration object that specifies the destination of an event after Lambda processes it.
- document_db_event_source_config
EventSourceMappingDocumentDbEventSourceConfig
- 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_mapping_arn
str
- The Amazon Resource Name (ARN) of the event source mapping.
- filter_criteria
EventSourceMappingFilterCriteria
- An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
- 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_response_types
Sequence[EventSourceMappingFunctionResponseTypesItem]
- (Kinesis, DynamoDB Streams, and SQS) A list of current response type enums applied to the event source mapping.
Valid Values:
ReportBatchItemFailures - id
str
- The event source mapping's ID.
- kms_key_arn
str
- The ARN of the KMSlong (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
- logging_config
EventSourceMappingLoggingConfig
- (Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. For more information, see Event source mapping logging.
- maximum_batching_window_in_seconds
int
- 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
BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1. - maximum_record_age_in_seconds
int
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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_attempts
int
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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
EventSourceMappingMetricsConfig
- 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_config
EventSourceMappingProvisionedPollerConfig
- (Amazon SQS, 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
EventSourceMappingScalingConfig
- This property is for Amazon SQS event sources only. You cannot use
ProvisionedPollerConfig while using ScalingConfig. These options are mutually exclusive. To remove the scaling configuration, pass an empty value. - self_managed_kafka_event_source_config
EventSourceMappingSelfManagedKafkaEventSourceConfig
- Specific configuration settings for a self-managed Apache Kafka event source.
- source_access_configurations
Sequence[EventSourceMappingSourceAccessConfiguration]
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
- tags
Sequence[root_Tag]
- A list of tags to add to the event source mapping.
You must have the
lambda:TagResource, lambda:UntagResource, and lambda:ListTags permissions 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_in_seconds
int
- (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.
- amazonManagedKafkaEventSourceConfig
Property Map
- 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.
- bisectBatchOnFunctionError
Boolean
- (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 the BatchSize parameter in the OnFailure destination message's metadata. The BatchSize could be greater than 1 since LAM consolidates failed messages metadata when writing to the OnFailure destination. - destinationConfig
Property Map
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A configuration object that specifies the destination of an event after Lambda processes it.
- documentDbEventSourceConfig
Property Map
- 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
- eventSourceMappingArn
String
- The Amazon Resource Name (ARN) of the event source mapping.
- 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.
- 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.
- functionResponseTypes
List<"ReportBatchItemFailures">
- (Kinesis, DynamoDB Streams, and SQS) A list of current response type enums applied to the event source mapping.
Valid Values:
ReportBatchItemFailures - id
String
- The event source mapping's ID.
- kmsKeyArn
String
- The ARN of the KMSlong (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
- loggingConfig
Property Map
- (Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. For more information, see Event source mapping logging.
- maximumBatchingWindowInSeconds
Number
- 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
BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1. - maximumRecordAgeInSeconds
Number
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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
- maximumRetryAttempts
Number
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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.
- provisionedPollerConfig
Property Map
- (Amazon SQS, 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
- This property is for Amazon SQS event sources only. You cannot use
ProvisionedPollerConfig while using ScalingConfig. These options are mutually exclusive. To remove the scaling configuration, pass an empty value. - selfManagedKafkaEventSourceConfig
Property Map
- Specific configuration settings for a self-managed Apache Kafka event source.
- sourceAccessConfigurations
List<Property Map>
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
- tags
List<Property Map>
- A list of tags to add to the event source mapping.
You must have the
lambda:TagResource, lambda:UntagResource, and lambda:ListTags permissions 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.
- tumblingWindowInSeconds
Number
- (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.
Supporting Types
EventSourceMappingAmazonManagedKafkaEventSourceConfig
- consumer_group_id
string
- 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_config
object
- Specific configuration settings for a Kafka schema registry.
- consumerGroupId
String
- 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.
- schemaRegistryConfig
Property Map
- Specific configuration settings for a Kafka schema registry.
EventSourceMappingConsumptionMode
| Name | Value |
|---|
| Stream | Stream |
| Queue | Queue |
| Name | Value |
|---|
| EventSourceMappingConsumptionModeStream | Stream |
| EventSourceMappingConsumptionModeQueue | Queue |
| Name | Value |
|---|
| Stream | Stream |
| Queue | Queue |
| Name | Value |
|---|
| Stream | Stream |
| Queue | Queue |
| Name | Value |
|---|
| STREAM | Stream |
| QUEUE | Queue |
EventSourceMappingDestinationConfig
EventSourceMappingDocumentDbEventSourceConfig
- 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.AwsNative.Lambda.EventSourceMappingDocumentDbEventSourceConfigFullDocument
- 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
EventSourceMappingDocumentDbEventSourceConfigFullDocument
- 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
string
- The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
- database_name
string
- The name of the database to consume within the DocumentDB cluster.
- full_document
"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.
- 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
EventSourceMappingDocumentDbEventSourceConfigFullDocument
- 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
EventSourceMappingDocumentDbEventSourceConfigFullDocument
- 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
EventSourceMappingDocumentDbEventSourceConfigFullDocument
- 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
| Name | Value |
|---|
| UpdateLookup | UpdateLookup |
| Default | Default |
| Name | Value |
|---|
| EventSourceMappingDocumentDbEventSourceConfigFullDocumentUpdateLookup | UpdateLookup |
| EventSourceMappingDocumentDbEventSourceConfigFullDocumentDefault | Default |
| Name | Value |
|---|
| UpdateLookup | UpdateLookup |
| Default | Default |
| Name | Value |
|---|
| UpdateLookup | UpdateLookup |
| Default | Default |
| Name | Value |
|---|
| UPDATE_LOOKUP | UpdateLookup |
| DEFAULT | Default |
EventSourceMappingFilter
EventSourceMappingFilterCriteria
EventSourceMappingFunctionResponseTypesItem
| Name | Value |
|---|
| ReportBatchItemFailures | ReportBatchItemFailures |
| Name | Value |
|---|
| EventSourceMappingFunctionResponseTypesItemReportBatchItemFailures | ReportBatchItemFailures |
| Value |
|---|
ReportBatchItemFailures |
| Name | Value |
|---|
| ReportBatchItemFailures | ReportBatchItemFailures |
| Name | Value |
|---|
| ReportBatchItemFailures | ReportBatchItemFailures |
| Name | Value |
|---|
| REPORT_BATCH_ITEM_FAILURES | ReportBatchItemFailures |
| Value |
|---|
ReportBatchItemFailures |
EventSourceMappingLoggingConfig
- system_log_level
"DEBUG" | "INFO" | "WARN"
- Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUG is the highest level and WARN is the lowest.
- systemLogLevel
"DEBUG" | "INFO" | "WARN"
- Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUG is the highest level and WARN is the lowest.
EventSourceMappingLoggingConfigSystemLogLevel
| Name | Value |
|---|
| Debug | DEBUG |
| Info | INFO |
| Warn | WARN |
| Name | Value |
|---|
| EventSourceMappingLoggingConfigSystemLogLevelDebug | DEBUG |
| EventSourceMappingLoggingConfigSystemLogLevelInfo | INFO |
| EventSourceMappingLoggingConfigSystemLogLevelWarn | WARN |
| Name | Value |
|---|
| Debug | DEBUG |
| Info | INFO |
| Warn | WARN |
| Name | Value |
|---|
| Debug | DEBUG |
| Info | INFO |
| Warn | WARN |
| Name | Value |
|---|
| DEBUG | DEBUG |
| INFO | INFO |
| WARN | WARN |
EventSourceMappingMetricsConfig
- Metrics
List<Pulumi.AwsNative.Lambda.EventSourceMappingMetricsConfigMetricsItem>
The metrics you want your event source mapping to produce, including EventCount, ErrorCount, KafkaMetrics.
EventCount to receive metrics related to the number of events processed by your event source mapping.ErrorCount (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the number of errors in your event source mapping processing.KafkaMetrics (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the Kafka consumers from your event source mapping.
For more information about these metrics, see Event source mapping metrics.
- Metrics
[]EventSourceMappingMetricsConfigMetricsItem
The metrics you want your event source mapping to produce, including EventCount, ErrorCount, KafkaMetrics.
EventCount to receive metrics related to the number of events processed by your event source mapping.ErrorCount (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the number of errors in your event source mapping processing.KafkaMetrics (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the Kafka consumers from your event source mapping.
For more information about these metrics, see Event source mapping metrics.
- metrics
list("EventCount" | "ErrorCount" | "KafkaMetrics")
The metrics you want your event source mapping to produce, including EventCount, ErrorCount, KafkaMetrics.
EventCount to receive metrics related to the number of events processed by your event source mapping.ErrorCount (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the number of errors in your event source mapping processing.KafkaMetrics (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the Kafka consumers from your event source mapping.
For more information about these metrics, see Event source mapping metrics.
- metrics
List<EventSourceMappingMetricsConfigMetricsItem>
The metrics you want your event source mapping to produce, including EventCount, ErrorCount, KafkaMetrics.
EventCount to receive metrics related to the number of events processed by your event source mapping.ErrorCount (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the number of errors in your event source mapping processing.KafkaMetrics (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the Kafka consumers from your event source mapping.
For more information about these metrics, see Event source mapping metrics.
- metrics
EventSourceMappingMetricsConfigMetricsItem[]
The metrics you want your event source mapping to produce, including EventCount, ErrorCount, KafkaMetrics.
EventCount to receive metrics related to the number of events processed by your event source mapping.ErrorCount (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the number of errors in your event source mapping processing.KafkaMetrics (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the Kafka consumers from your event source mapping.
For more information about these metrics, see Event source mapping metrics.
- metrics
Sequence[EventSourceMappingMetricsConfigMetricsItem]
The metrics you want your event source mapping to produce, including EventCount, ErrorCount, KafkaMetrics.
EventCount to receive metrics related to the number of events processed by your event source mapping.ErrorCount (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the number of errors in your event source mapping processing.KafkaMetrics (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the Kafka consumers from your event source mapping.
For more information about these metrics, see Event source mapping metrics.
- metrics
List<"EventCount" | "ErrorCount" | "KafkaMetrics">
The metrics you want your event source mapping to produce, including EventCount, ErrorCount, KafkaMetrics.
EventCount to receive metrics related to the number of events processed by your event source mapping.ErrorCount (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the number of errors in your event source mapping processing.KafkaMetrics (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the Kafka consumers from your event source mapping.
For more information about these metrics, see Event source mapping metrics.
EventSourceMappingMetricsConfigMetricsItem
| Name | Value |
|---|
| EventCount | EventCount |
| ErrorCount | ErrorCount |
| KafkaMetrics | KafkaMetrics |
| Name | Value |
|---|
| EventSourceMappingMetricsConfigMetricsItemEventCount | EventCount |
| EventSourceMappingMetricsConfigMetricsItemErrorCount | ErrorCount |
| EventSourceMappingMetricsConfigMetricsItemKafkaMetrics | KafkaMetrics |
| Value |
|---|
EventCount |
ErrorCount |
KafkaMetrics |
| Name | Value |
|---|
| EventCount | EventCount |
| ErrorCount | ErrorCount |
| KafkaMetrics | KafkaMetrics |
| Name | Value |
|---|
| EventCount | EventCount |
| ErrorCount | ErrorCount |
| KafkaMetrics | KafkaMetrics |
| Name | Value |
|---|
| EVENT_COUNT | EventCount |
| ERROR_COUNT | ErrorCount |
| KAFKA_METRICS | KafkaMetrics |
| Value |
|---|
EventCount |
ErrorCount |
KafkaMetrics |
EventSourceMappingOnFailure
- Destination
string
- The Amazon Resource Name (ARN) of the destination resource.
To retain records of failed invocations from Kinesis, DynamoDB, self-managed Apache Kafka, or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, or Kafka topic as the destination.
Amazon SNS destinations have a message size limit of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda will drop the payload when sending
OnFailure event to the destination. For details on this behavior, refer to Retaining records of asynchronous invocations.
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 failed invocations from Kinesis, DynamoDB, self-managed Apache Kafka, or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, or Kafka topic as the destination.
Amazon SNS destinations have a message size limit of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda will drop the payload when sending
OnFailure event to the destination. For details on this behavior, refer to Retaining records of asynchronous invocations.
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 failed invocations from Kinesis, DynamoDB, self-managed Apache Kafka, or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, or Kafka topic as the destination.
Amazon SNS destinations have a message size limit of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda will drop the payload when sending
OnFailure event to the destination. For details on this behavior, refer to Retaining records of asynchronous invocations.
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 failed invocations from Kinesis, DynamoDB, self-managed Apache Kafka, or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, or Kafka topic as the destination.
Amazon SNS destinations have a message size limit of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda will drop the payload when sending
OnFailure event to the destination. For details on this behavior, refer to Retaining records of asynchronous invocations.
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 failed invocations from Kinesis, DynamoDB, self-managed Apache Kafka, or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, or Kafka topic as the destination.
Amazon SNS destinations have a message size limit of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda will drop the payload when sending
OnFailure event to the destination. For details on this behavior, refer to Retaining records of asynchronous invocations.
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 failed invocations from Kinesis, DynamoDB, self-managed Apache Kafka, or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, or Kafka topic as the destination.
Amazon SNS destinations have a message size limit of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda will drop the payload when sending
OnFailure event to the destination. For details on this behavior, refer to Retaining records of asynchronous invocations.
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 failed invocations from Kinesis, DynamoDB, self-managed Apache Kafka, or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, or Kafka topic as the destination.
Amazon SNS destinations have a message size limit of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda will drop the payload when sending
OnFailure event to the destination. For details on this behavior, refer to Retaining records of asynchronous invocations.
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
- MaximumPollers
int
- The maximum number of event pollers this event source can scale up to. For Amazon SQS event source mappings, the accepted range is between 2 and 10,000, with a default of 200. For Amazon MSK and self-managed Apache Kafka event source mappings, the accepted range is between 1 and 2,000, with a default of 200.
- MinimumPollers
int
- The minimum number of event pollers this event source can scale down to. For Amazon SQS events source mappings, default is 2, and minimum 2 required. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 1.
- PollerGroupName
string
- (Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
- MaximumPollers
int
- The maximum number of event pollers this event source can scale up to. For Amazon SQS event source mappings, the accepted range is between 2 and 10,000, with a default of 200. For Amazon MSK and self-managed Apache Kafka event source mappings, the accepted range is between 1 and 2,000, with a default of 200.
- MinimumPollers
int
- The minimum number of event pollers this event source can scale down to. For Amazon SQS events source mappings, default is 2, and minimum 2 required. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 1.
- PollerGroupName
string
- (Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
- maximum_pollers
number
- The maximum number of event pollers this event source can scale up to. For Amazon SQS event source mappings, the accepted range is between 2 and 10,000, with a default of 200. For Amazon MSK and self-managed Apache Kafka event source mappings, the accepted range is between 1 and 2,000, with a default of 200.
- minimum_pollers
number
- The minimum number of event pollers this event source can scale down to. For Amazon SQS events source mappings, default is 2, and minimum 2 required. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 1.
- poller_group_name
string
- (Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
- maximumPollers
Integer
- The maximum number of event pollers this event source can scale up to. For Amazon SQS event source mappings, the accepted range is between 2 and 10,000, with a default of 200. For Amazon MSK and self-managed Apache Kafka event source mappings, the accepted range is between 1 and 2,000, with a default of 200.
- minimumPollers
Integer
- The minimum number of event pollers this event source can scale down to. For Amazon SQS events source mappings, default is 2, and minimum 2 required. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 1.
- pollerGroupName
String
- (Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
- maximumPollers
number
- The maximum number of event pollers this event source can scale up to. For Amazon SQS event source mappings, the accepted range is between 2 and 10,000, with a default of 200. For Amazon MSK and self-managed Apache Kafka event source mappings, the accepted range is between 1 and 2,000, with a default of 200.
- minimumPollers
number
- The minimum number of event pollers this event source can scale down to. For Amazon SQS events source mappings, default is 2, and minimum 2 required. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 1.
- pollerGroupName
string
- (Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
- maximum_pollers
int
- The maximum number of event pollers this event source can scale up to. For Amazon SQS event source mappings, the accepted range is between 2 and 10,000, with a default of 200. For Amazon MSK and self-managed Apache Kafka event source mappings, the accepted range is between 1 and 2,000, with a default of 200.
- minimum_pollers
int
- The minimum number of event pollers this event source can scale down to. For Amazon SQS events source mappings, default is 2, and minimum 2 required. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 1.
- poller_group_name
str
- (Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
- maximumPollers
Number
- The maximum number of event pollers this event source can scale up to. For Amazon SQS event source mappings, the accepted range is between 2 and 10,000, with a default of 200. For Amazon MSK and self-managed Apache Kafka event source mappings, the accepted range is between 1 and 2,000, with a default of 200.
- minimumPollers
Number
- The minimum number of event pollers this event source can scale down to. For Amazon SQS events source mappings, default is 2, and minimum 2 required. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 1.
- pollerGroupName
String
- (Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
EventSourceMappingScalingConfig
- 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.
- maximum_concurrency
number
- 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
EventSourceMappingSchemaRegistryAccessConfigType
| Name | Value |
|---|
| BasicAuth | BASIC_AUTH |
| ClientCertificateTlsAuth | CLIENT_CERTIFICATE_TLS_AUTH |
| ServerRootCaCertificate | SERVER_ROOT_CA_CERTIFICATE |
| OauthbearerAuth | OAUTHBEARER_AUTH |
| Name | Value |
|---|
| EventSourceMappingSchemaRegistryAccessConfigTypeBasicAuth | BASIC_AUTH |
| EventSourceMappingSchemaRegistryAccessConfigTypeClientCertificateTlsAuth | CLIENT_CERTIFICATE_TLS_AUTH |
| EventSourceMappingSchemaRegistryAccessConfigTypeServerRootCaCertificate | SERVER_ROOT_CA_CERTIFICATE |
| EventSourceMappingSchemaRegistryAccessConfigTypeOauthbearerAuth | OAUTHBEARER_AUTH |
| Value |
|---|
BASIC_AUTH |
CLIENT_CERTIFICATE_TLS_AUTH |
SERVER_ROOT_CA_CERTIFICATE |
OAUTHBEARER_AUTH |
| Name | Value |
|---|
| BasicAuth | BASIC_AUTH |
| ClientCertificateTlsAuth | CLIENT_CERTIFICATE_TLS_AUTH |
| ServerRootCaCertificate | SERVER_ROOT_CA_CERTIFICATE |
| OauthbearerAuth | OAUTHBEARER_AUTH |
| Name | Value |
|---|
| BasicAuth | BASIC_AUTH |
| ClientCertificateTlsAuth | CLIENT_CERTIFICATE_TLS_AUTH |
| ServerRootCaCertificate | SERVER_ROOT_CA_CERTIFICATE |
| OauthbearerAuth | OAUTHBEARER_AUTH |
| Name | Value |
|---|
| BASIC_AUTH | BASIC_AUTH |
| CLIENT_CERTIFICATE_TLS_AUTH | CLIENT_CERTIFICATE_TLS_AUTH |
| SERVER_ROOT_CA_CERTIFICATE | SERVER_ROOT_CA_CERTIFICATE |
| OAUTHBEARER_AUTH | OAUTHBEARER_AUTH |
| Value |
|---|
BASIC_AUTH |
CLIENT_CERTIFICATE_TLS_AUTH |
SERVER_ROOT_CA_CERTIFICATE |
OAUTHBEARER_AUTH |
EventSourceMappingSchemaRegistryConfig
- AccessConfigs
[]EventSourceMappingSchemaRegistryAccessConfig
- An array of access configuration objects that tell Lambda how to authenticate with your schema registry.
- EventRecordFormat
EventSourceMappingSchemaRegistryConfigEventRecordFormat
- The record format that Lambda delivers to your function after schema validation.
- Choose
JSON to have Lambda deliver the record to your function as a standard JSON object. - Choose
SOURCE to 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.
- SchemaRegistryUri
string
- 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.
- SchemaValidationConfigs
[]EventSourceMappingSchemaValidationConfig
- 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
list(object)
- An array of access configuration objects that tell Lambda how to authenticate with your schema registry.
- event_record_format
"JSON" | "SOURCE"
- The record format that Lambda delivers to your function after schema validation.
- Choose
JSON to have Lambda deliver the record to your function as a standard JSON object. - Choose
SOURCE to 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.
- schema_registry_uri
string
- 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_configs
list(object)
- An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.
- accessConfigs
EventSourceMappingSchemaRegistryAccessConfig[]
- An array of access configuration objects that tell Lambda how to authenticate with your schema registry.
- eventRecordFormat
EventSourceMappingSchemaRegistryConfigEventRecordFormat
- The record format that Lambda delivers to your function after schema validation.
- Choose
JSON to have Lambda deliver the record to your function as a standard JSON object. - Choose
SOURCE to 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.
- schemaRegistryUri
string
- 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.
- schemaValidationConfigs
EventSourceMappingSchemaValidationConfig[]
- 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.
- eventRecordFormat
"JSON" | "SOURCE"
- The record format that Lambda delivers to your function after schema validation.
- Choose
JSON to have Lambda deliver the record to your function as a standard JSON object. - Choose
SOURCE to 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.
- schemaRegistryUri
String
- 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.
- schemaValidationConfigs
List<Property Map>
- An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.
| Name | Value |
|---|
| Json | JSON |
| Source | SOURCE |
| Name | Value |
|---|
| EventSourceMappingSchemaRegistryConfigEventRecordFormatJson | JSON |
| EventSourceMappingSchemaRegistryConfigEventRecordFormatSource | SOURCE |
| Name | Value |
|---|
| Json | JSON |
| Source | SOURCE |
| Name | Value |
|---|
| Json | JSON |
| Source | SOURCE |
| Name | Value |
|---|
| JSON | JSON |
| SOURCE | SOURCE |
EventSourceMappingSchemaValidationConfig
- attribute
"KEY" | "VALUE"
- The attributes you want your schema registry to validate and filter for. If you selected
JSON as the EventRecordFormat, 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
JSON as the EventRecordFormat, Lambda also deserializes the selected message attributes.
EventSourceMappingSchemaValidationConfigAttribute
| Name | Value |
|---|
| Key | KEY |
| Value | VALUE |
| Name | Value |
|---|
| EventSourceMappingSchemaValidationConfigAttributeKey | KEY |
| EventSourceMappingSchemaValidationConfigAttributeValue | VALUE |
| Name | Value |
|---|
| Key | KEY |
| Value | VALUE |
| Name | Value |
|---|
| Key | KEY |
| Value | VALUE |
| Name | Value |
|---|
| KEY | KEY |
| VALUE | VALUE |
EventSourceMappingSelfManagedKafkaEventSourceConfig
EventSourceMappingSourceAccessConfiguration
- Type
Pulumi.AwsNative.Lambda.EventSourceMappingSourceAccessConfigurationType
- 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
EventSourceMappingSourceAccessConfigurationType
- 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
"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" | "OAUTHBEARER_AUTH" | "OAUTHBEARER_SCOPE" | "OAUTHBEARER_AUDIENCE" | "OAUTHBEARER_LOGICAL_CLUSTER" | "OAUTHBEARER_IDENTITY_POOL" | "IAM_AUTH" | "IAM_OAUTHBEARER_AUTH"
- 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
EventSourceMappingSourceAccessConfigurationType
- 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
EventSourceMappingSourceAccessConfigurationType
- 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
EventSourceMappingSourceAccessConfigurationType
- 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" | "OAUTHBEARER_AUTH" | "OAUTHBEARER_SCOPE" | "OAUTHBEARER_AUDIENCE" | "OAUTHBEARER_LOGICAL_CLUSTER" | "OAUTHBEARER_IDENTITY_POOL" | "IAM_AUTH" | "IAM_OAUTHBEARER_AUTH"
- 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
| Name | Value |
|---|
| BasicAuth | BASIC_AUTH |
| VpcSubnet | VPC_SUBNET |
| VpcSecurityGroup | VPC_SECURITY_GROUP |
| SaslScram512Auth | SASL_SCRAM_512_AUTH |
| SaslScram256Auth | SASL_SCRAM_256_AUTH |
| VirtualHost | VIRTUAL_HOST |
| ClientCertificateTlsAuth | CLIENT_CERTIFICATE_TLS_AUTH |
| ServerRootCaCertificate | SERVER_ROOT_CA_CERTIFICATE |
| OauthbearerAuth | OAUTHBEARER_AUTH |
| OauthbearerScope | OAUTHBEARER_SCOPE |
| OauthbearerAudience | OAUTHBEARER_AUDIENCE |
| OauthbearerLogicalCluster | OAUTHBEARER_LOGICAL_CLUSTER |
| OauthbearerIdentityPool | OAUTHBEARER_IDENTITY_POOL |
| IamAuth | IAM_AUTH |
| IamOauthbearerAuth | IAM_OAUTHBEARER_AUTH |
| Name | Value |
|---|
| EventSourceMappingSourceAccessConfigurationTypeBasicAuth | BASIC_AUTH |
| EventSourceMappingSourceAccessConfigurationTypeVpcSubnet | VPC_SUBNET |
| EventSourceMappingSourceAccessConfigurationTypeVpcSecurityGroup | VPC_SECURITY_GROUP |
| EventSourceMappingSourceAccessConfigurationTypeSaslScram512Auth | SASL_SCRAM_512_AUTH |
| EventSourceMappingSourceAccessConfigurationTypeSaslScram256Auth | SASL_SCRAM_256_AUTH |
| EventSourceMappingSourceAccessConfigurationTypeVirtualHost | VIRTUAL_HOST |
| EventSourceMappingSourceAccessConfigurationTypeClientCertificateTlsAuth | CLIENT_CERTIFICATE_TLS_AUTH |
| EventSourceMappingSourceAccessConfigurationTypeServerRootCaCertificate | SERVER_ROOT_CA_CERTIFICATE |
| EventSourceMappingSourceAccessConfigurationTypeOauthbearerAuth | OAUTHBEARER_AUTH |
| EventSourceMappingSourceAccessConfigurationTypeOauthbearerScope | OAUTHBEARER_SCOPE |
| EventSourceMappingSourceAccessConfigurationTypeOauthbearerAudience | OAUTHBEARER_AUDIENCE |
| EventSourceMappingSourceAccessConfigurationTypeOauthbearerLogicalCluster | OAUTHBEARER_LOGICAL_CLUSTER |
| EventSourceMappingSourceAccessConfigurationTypeOauthbearerIdentityPool | OAUTHBEARER_IDENTITY_POOL |
| EventSourceMappingSourceAccessConfigurationTypeIamAuth | IAM_AUTH |
| EventSourceMappingSourceAccessConfigurationTypeIamOauthbearerAuth | IAM_OAUTHBEARER_AUTH |
| Value |
|---|
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 |
OAUTHBEARER_AUTH |
OAUTHBEARER_SCOPE |
OAUTHBEARER_AUDIENCE |
OAUTHBEARER_LOGICAL_CLUSTER |
OAUTHBEARER_IDENTITY_POOL |
IAM_AUTH |
IAM_OAUTHBEARER_AUTH |
| Name | Value |
|---|
| BasicAuth | BASIC_AUTH |
| VpcSubnet | VPC_SUBNET |
| VpcSecurityGroup | VPC_SECURITY_GROUP |
| SaslScram512Auth | SASL_SCRAM_512_AUTH |
| SaslScram256Auth | SASL_SCRAM_256_AUTH |
| VirtualHost | VIRTUAL_HOST |
| ClientCertificateTlsAuth | CLIENT_CERTIFICATE_TLS_AUTH |
| ServerRootCaCertificate | SERVER_ROOT_CA_CERTIFICATE |
| OauthbearerAuth | OAUTHBEARER_AUTH |
| OauthbearerScope | OAUTHBEARER_SCOPE |
| OauthbearerAudience | OAUTHBEARER_AUDIENCE |
| OauthbearerLogicalCluster | OAUTHBEARER_LOGICAL_CLUSTER |
| OauthbearerIdentityPool | OAUTHBEARER_IDENTITY_POOL |
| IamAuth | IAM_AUTH |
| IamOauthbearerAuth | IAM_OAUTHBEARER_AUTH |
| Name | Value |
|---|
| BasicAuth | BASIC_AUTH |
| VpcSubnet | VPC_SUBNET |
| VpcSecurityGroup | VPC_SECURITY_GROUP |
| SaslScram512Auth | SASL_SCRAM_512_AUTH |
| SaslScram256Auth | SASL_SCRAM_256_AUTH |
| VirtualHost | VIRTUAL_HOST |
| ClientCertificateTlsAuth | CLIENT_CERTIFICATE_TLS_AUTH |
| ServerRootCaCertificate | SERVER_ROOT_CA_CERTIFICATE |
| OauthbearerAuth | OAUTHBEARER_AUTH |
| OauthbearerScope | OAUTHBEARER_SCOPE |
| OauthbearerAudience | OAUTHBEARER_AUDIENCE |
| OauthbearerLogicalCluster | OAUTHBEARER_LOGICAL_CLUSTER |
| OauthbearerIdentityPool | OAUTHBEARER_IDENTITY_POOL |
| IamAuth | IAM_AUTH |
| IamOauthbearerAuth | IAM_OAUTHBEARER_AUTH |
| Name | Value |
|---|
| 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 |
| OAUTHBEARER_AUTH | OAUTHBEARER_AUTH |
| OAUTHBEARER_SCOPE | OAUTHBEARER_SCOPE |
| OAUTHBEARER_AUDIENCE | OAUTHBEARER_AUDIENCE |
| OAUTHBEARER_LOGICAL_CLUSTER | OAUTHBEARER_LOGICAL_CLUSTER |
| OAUTHBEARER_IDENTITY_POOL | OAUTHBEARER_IDENTITY_POOL |
| IAM_AUTH | IAM_AUTH |
| IAM_OAUTHBEARER_AUTH | IAM_OAUTHBEARER_AUTH |
| Value |
|---|
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 |
OAUTHBEARER_AUTH |
OAUTHBEARER_SCOPE |
OAUTHBEARER_AUDIENCE |
OAUTHBEARER_LOGICAL_CLUSTER |
OAUTHBEARER_IDENTITY_POOL |
IAM_AUTH |
IAM_OAUTHBEARER_AUTH |
Tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
str
- The key name of the tag
- value
str
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0