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
Represents the lambda configuration for an Amazon S3 bucket notification.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLambdaConfiguration
(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
Modifier and TypeMethodDescriptionReturns 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 Details
-
LambdaConfiguration
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
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 Details
-
getFunctionARN
Returns the ARN of the cloud function to be invoked.
-