Interface IEventSourceMapping

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IEnvironmentAware, IEventSourceMappingRef, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IEventSourceMapping.Jsii$Default
All Known Implementing Classes:
EventSourceMapping, IEventSourceMapping.Jsii$Proxy

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-11-20T23:37:24.355Z") @Stability(Stable) public interface IEventSourceMapping extends software.amazon.jsii.JsiiSerializable, IResource, IEventSourceMappingRef
Represents an event source mapping for a lambda function.

See Also:
  • Method Details

    • getEventSourceMappingArn

      @Stability(Stable) @NotNull String getEventSourceMappingArn()
      The ARN of the event source mapping (i.e. arn:aws:lambda:region:account-id:event-source-mapping/event-source-mapping-id).
    • getEventSourceMappingId

      @Stability(Stable) @NotNull String getEventSourceMappingId()
      The identifier for this EventSourceMapping.
    • getNode

      @Stability(Stable) @NotNull software.constructs.Node getNode()
      The tree node.
      Specified by:
      getNode in interface software.constructs.IConstruct
    • getEnv

      @Stability(Stable) @NotNull ResourceEnvironment getEnv()
      The environment this resource belongs to.

      For resources that are created and managed in a Stack (those created by creating new class instances like new Role(), new Bucket(), etc.), this is always the same as the environment of the stack they belong to.

      For referenced resources (those obtained from referencing methods like Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.

      Specified by:
      getEnv in interface IEnvironmentAware