Class LambdaConfiguration

java.lang.Object
com.amazonaws.services.s3.model.NotificationConfiguration
com.amazonaws.services.s3.model.LambdaConfiguration
All Implemented Interfaces:
Serializable

public class LambdaConfiguration extends NotificationConfiguration implements Serializable
Represents the lambda configuration for an Amazon S3 bucket notification.
See Also:
  • Constructor Details

    • LambdaConfiguration

      public LambdaConfiguration(String functionARN, EnumSet<S3Event> events)
      Creates a new lambda configuration with the given cloud function arn and set of events.
      Parameters:
      functionARN - the ARN of the lambda function to be invoked
      events - the events for which the notifications are to be sent
    • LambdaConfiguration

      public LambdaConfiguration(String functionARN, String... events)
      Creates a new lambda configuration with the given cloud function arn and set of events.
      Parameters:
      functionARN - the ARN of the lambda function to be invoked
      events - the events for which the notifications are to be sent
  • Method Details

    • getFunctionARN

      public String getFunctionARN()
      Returns the ARN of the cloud function to be invoked.