EventSourceMappingReference

class aws_cdk.aws_lambda.EventSourceMappingReference(*, event_source_mapping_arn, event_source_mapping_id)

Bases: object

A reference to a EventSourceMapping resource.

Parameters:
  • event_source_mapping_arn (str) – The ARN of the EventSourceMapping resource.

  • event_source_mapping_id (str) – The Id of the EventSourceMapping resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lambda as lambda_

event_source_mapping_reference = lambda.EventSourceMappingReference(
    event_source_mapping_arn="eventSourceMappingArn",
    event_source_mapping_id="eventSourceMappingId"
)

Attributes

event_source_mapping_arn

The ARN of the EventSourceMapping resource.

event_source_mapping_id

The Id of the EventSourceMapping resource.