CfnEventSourceMappingProps

class aws_cdk.aws_lambda.CfnEventSourceMappingProps(*, event_source_arn, function_name, batch_size=None, bisect_batch_on_function_error=None, destination_config=None, enabled=None, maximum_batching_window_in_seconds=None, maximum_record_age_in_seconds=None, maximum_retry_attempts=None, parallelization_factor=None, starting_position=None)

Bases: object

__init__(*, event_source_arn, function_name, batch_size=None, bisect_batch_on_function_error=None, destination_config=None, enabled=None, maximum_batching_window_in_seconds=None, maximum_record_age_in_seconds=None, maximum_retry_attempts=None, parallelization_factor=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.

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

  • destination_config (Union[IResolvable, DestinationConfigProperty, None]) – AWS::Lambda::EventSourceMapping.DestinationConfig.

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

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

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

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

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

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

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

Return type

None

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]

bisect_batch_on_function_error

AWS::Lambda::EventSourceMapping.BisectBatchOnFunctionError.

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

Return type

Union[bool, IResolvable, None]

destination_config

AWS::Lambda::EventSourceMapping.DestinationConfig.

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

Return type

Union[IResolvable, DestinationConfigProperty, 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, IResolvable, None]

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]

maximum_record_age_in_seconds

AWS::Lambda::EventSourceMapping.MaximumRecordAgeInSeconds.

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

Return type

Union[int, float, None]

maximum_retry_attempts

AWS::Lambda::EventSourceMapping.MaximumRetryAttempts.

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

Return type

Union[int, float, None]

parallelization_factor

AWS::Lambda::EventSourceMapping.ParallelizationFactor.

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

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]