Package com.amazonaws.services.s3.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LambdaConfiguration(String functionARN, String... events)
Creates a new lambda configuration with the given cloud function arn and set of events.LambdaConfiguration(String functionARN, EnumSet<S3Event> events)
Creates a new lambda configuration with the given cloud function arn and set of events.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFunctionARN()
Returns the ARN of the cloud function to be invoked.-
Methods inherited from class com.amazonaws.services.s3.model.NotificationConfiguration
addEvent, addEvent, addObjectPrefix, getEvents, getFilter, getObjectPrefixes, setEvents, setFilter, setObjectPrefixes, withEvents, withFilter, withObjectPrefixes
-
-
-
-
Constructor Detail
-
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 invokedevents
- 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 invokedevents
- the events for which the notifications are to be sent
-
-
Method Detail
-
getFunctionARN
public String getFunctionARN()
Returns the ARN of the cloud function to be invoked.
-
-