public class LambdaConfiguration extends NotificationConfiguration implements java.io.Serializable
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
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 sentCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.