CfnEventSourceMappingProps

class aws_cdk.aws_lambda.CfnEventSourceMappingProps(*, event_source_arn, function_name, batch_size=None, enabled=None, maximum_batching_window_in_seconds=None, starting_position=None)

Bases: object

__init__(*, event_source_arn, function_name, batch_size=None, enabled=None, maximum_batching_window_in_seconds=None, starting_position=None)

Properties for defining a AWS::Lambda::EventSourceMapping.

Parameters
  • event_source_arn (str) – AWS::Lambda::EventSourceMapping.EventSourceArn.

  • function_name (str) – AWS::Lambda::EventSourceMapping.FunctionName.

  • batch_size (Union[int, float, None]) – AWS::Lambda::EventSourceMapping.BatchSize.

  • enabled (Union[bool, None, IResolvable]) – AWS::Lambda::EventSourceMapping.Enabled.

  • maximum_batching_window_in_seconds (Union[int, float, None]) – AWS::Lambda::EventSourceMapping.MaximumBatchingWindowInSeconds.

  • starting_position (Optional[str]) – AWS::Lambda::EventSourceMapping.StartingPosition.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html

Attributes

batch_size

AWS::Lambda::EventSourceMapping.BatchSize.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-batchsize

Return type

Union[int, float, None]

enabled

AWS::Lambda::EventSourceMapping.Enabled.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-enabled

Return type

Union[bool, None, IResolvable]

event_source_arn

AWS::Lambda::EventSourceMapping.EventSourceArn.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-eventsourcearn

Return type

str

function_name

AWS::Lambda::EventSourceMapping.FunctionName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-functionname

Return type

str

maximum_batching_window_in_seconds

AWS::Lambda::EventSourceMapping.MaximumBatchingWindowInSeconds.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-maximumbatchingwindowinseconds

Return type

Union[int, float, None]

starting_position

AWS::Lambda::EventSourceMapping.StartingPosition.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-startingposition

Return type

Optional[str]