interface EventSourceMappingReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.EventSourceMappingReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#EventSourceMappingReference |
Java | software.amazon.awscdk.services.lambda.EventSourceMappingReference |
Python | aws_cdk.aws_lambda.EventSourceMappingReference |
TypeScript | aws-cdk-lib » aws_lambda » EventSourceMappingReference |
A reference to a EventSourceMapping resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const eventSourceMappingReference: lambda.EventSourceMappingReference = {
eventSourceMappingArn: 'eventSourceMappingArn',
eventSourceMappingId: 'eventSourceMappingId',
};
Properties
| Name | Type | Description |
|---|---|---|
| event | string | The ARN of the EventSourceMapping resource. |
| event | string | The Id of the EventSourceMapping resource. |
eventSourceMappingArn
Type:
string
The ARN of the EventSourceMapping resource.
eventSourceMappingId
Type:
string
The Id of the EventSourceMapping resource.

.NET
Go
Java
Python
TypeScript