Class: EventSourceMapping

Lambda.EventSourceMapping

new EventSourceMapping()

Properties:
Name Type Description
BatchSize Number Required: No. The largest number of records that Lambda retrieves from your event source when invoking your function. Your function receives an event with all the retrieved records. For the default and valid values, see CreateEventSourceMapping in the AWS Lambda Developer Guide.Update requires: No interruption
Enabled Boolean Required: No. Indicates whether Lambda begins polling the event source.Update requires: No interruption
EventSourceArn String Required: Yes. The Amazon Resource Name (ARN) of the Amazon Kinesis or DynamoDB stream that is the source of events. Any record added to this stream can invoke the Lambda function. For more information, see CreateEventSourceMapping in the AWS Lambda Developer Guide.Update requires: Replacement
FunctionName String Required: Yes. The name or ARN of a Lambda function to invoke when Lambda detects an event on the stream.Update requires: No interruption
StartingPosition String Required: Yes. The position in the stream where Lambda starts reading. For valid values, see CreateEventSourceMapping in the AWS Lambda Developer Guide.Update requires: Replacement
Source:

Extends

  • WKResource

Lambda.EventSourceMapping

new EventSourceMapping()

Properties:
Name Type Description
BatchSize Number Required: No. The largest number of records that Lambda retrieves from your event source when invoking your function. Your function receives an event with all the retrieved records. For the default and valid values, see CreateEventSourceMapping in the AWS Lambda Developer Guide.Update requires: No interruption
Enabled Boolean Required: No. Indicates whether Lambda begins polling the event source.Update requires: No interruption
EventSourceArn String Required: Yes. The Amazon Resource Name (ARN) of the Amazon Kinesis or DynamoDB stream that is the source of events. Any record added to this stream can invoke the Lambda function. For more information, see CreateEventSourceMapping in the AWS Lambda Developer Guide.Update requires: Replacement
FunctionName String Required: Yes. The name or ARN of a Lambda function to invoke when Lambda detects an event on the stream.Update requires: No interruption
StartingPosition String Required: Yes. The position in the stream where Lambda starts reading. For valid values, see CreateEventSourceMapping in the AWS Lambda Developer Guide.Update requires: Replacement
Source:

Extends

  • WKResource