public class LambdaConfiguration extends NotificationConfiguration implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
functionARN
The ARN for the lambda function to be invoked.
|
Constructor and Description |
---|
LambdaConfiguration(java.lang.String functionARN,
java.util.EnumSet<S3Event> events)
Creates a new lambda configuration with the given cloud function arn
and set of events.
|
LambdaConfiguration(java.lang.String functionARN,
java.lang.String... events)
Creates a new lambda configuration with the given cloud function arn
and set of events.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFunctionARN()
Returns the ARN of the cloud function to be invoked.
|
addEvent, addEvent, addObjectPrefix, getEvents, getFilter, getObjectPrefixes, setEvents, setFilter, setObjectPrefixes, withEvents, withFilter, withObjectPrefixes
private final java.lang.String functionARN
public LambdaConfiguration(java.lang.String functionARN, java.util.EnumSet<S3Event> events)
functionARN
- the ARN of the lambda function to be invokedevents
- the events for which the notifications are to be sentpublic LambdaConfiguration(java.lang.String functionARN, java.lang.String... events)
functionARN
- the ARN of the lambda function to be invokedevents
- the events for which the notifications are to be sent