public class LambdaConfiguration extends NotificationConfiguration implements Serializable
Constructor and Description |
---|
LambdaConfiguration(String functionARN,
EnumSet<S3Event> events)
Creates a new lambda configuration with the given cloud function arn
and set of events.
|
LambdaConfiguration(String functionARN,
String... events)
Creates a new lambda configuration with the given cloud function arn
and set of events.
|
Modifier and Type | Method and Description |
---|---|
String |
getFunctionARN()
Returns the ARN of the cloud function to be invoked.
|
addEvent, addEvent, addObjectPrefix, getEvents, getFilter, getObjectPrefixes, setEvents, setFilter, setObjectPrefixes, withEvents, withFilter, withObjectPrefixes
public LambdaConfiguration(String functionARN, EnumSet<S3Event> events)
functionARN
- the ARN of the lambda function to be invokedevents
- the events for which the notifications are to be sentpublic LambdaConfiguration(String functionARN, String... events)
functionARN
- the ARN of the lambda function to be invokedevents
- the events for which the notifications are to be sentpublic String getFunctionARN()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.