CfnEventSourceMappingProps

class aws_cdk.aws_lambda.CfnEventSourceMappingProps(*, function_name, batch_size=None, bisect_batch_on_function_error=None, destination_config=None, enabled=None, event_source_arn=None, function_response_types=None, maximum_batching_window_in_seconds=None, maximum_record_age_in_seconds=None, maximum_retry_attempts=None, parallelization_factor=None, queues=None, self_managed_event_source=None, source_access_configurations=None, starting_position=None, starting_position_timestamp=None, topics=None, tumbling_window_in_seconds=None)

Bases: object

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

Parameters
  • 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.

  • event_source_arn (Optional[str]) – AWS::Lambda::EventSourceMapping.EventSourceArn.

  • function_response_types (Optional[Sequence[str]]) – AWS::Lambda::EventSourceMapping.FunctionResponseTypes.

  • 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.

  • queues (Optional[Sequence[str]]) – AWS::Lambda::EventSourceMapping.Queues.

  • self_managed_event_source (Union[IResolvable, SelfManagedEventSourceProperty, None]) – AWS::Lambda::EventSourceMapping.SelfManagedEventSource.

  • source_access_configurations (Union[IResolvable, Sequence[Union[IResolvable, SourceAccessConfigurationProperty]], None]) – AWS::Lambda::EventSourceMapping.SourceAccessConfigurations.

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

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

  • topics (Optional[Sequence[str]]) – AWS::Lambda::EventSourceMapping.Topics.

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

Link

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

Attributes

batch_size

AWS::Lambda::EventSourceMapping.BatchSize.

Link

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.

Link

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.

Link

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.

Link

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.

Link

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

Return type

Optional[str]

function_name

AWS::Lambda::EventSourceMapping.FunctionName.

Link

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

Return type

str

function_response_types

AWS::Lambda::EventSourceMapping.FunctionResponseTypes.

Link

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

Return type

Optional[List[str]]

maximum_batching_window_in_seconds

AWS::Lambda::EventSourceMapping.MaximumBatchingWindowInSeconds.

Link

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.

Link

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.

Link

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.

Link

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

Return type

Union[int, float, None]

queues

AWS::Lambda::EventSourceMapping.Queues.

Link

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

Return type

Optional[List[str]]

self_managed_event_source

AWS::Lambda::EventSourceMapping.SelfManagedEventSource.

Link

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

Return type

Union[IResolvable, SelfManagedEventSourceProperty, None]

source_access_configurations

AWS::Lambda::EventSourceMapping.SourceAccessConfigurations.

Link

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

Return type

Union[IResolvable, List[Union[IResolvable, SourceAccessConfigurationProperty]], None]

starting_position

AWS::Lambda::EventSourceMapping.StartingPosition.

Link

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

Return type

Optional[str]

starting_position_timestamp

AWS::Lambda::EventSourceMapping.StartingPositionTimestamp.

Link

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

Return type

Union[int, float, None]

topics

AWS::Lambda::EventSourceMapping.Topics.

Link

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

Return type

Optional[List[str]]

tumbling_window_in_seconds

AWS::Lambda::EventSourceMapping.TumblingWindowInSeconds.

Link

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

Return type

Union[int, float, None]