Package com.amazonaws.services.s3.model
Class CloudFunctionConfiguration
java.lang.Object
com.amazonaws.services.s3.model.NotificationConfiguration
com.amazonaws.services.s3.model.CloudFunctionConfiguration
- All Implemented Interfaces:
Serializable
@Deprecated
public class CloudFunctionConfiguration
extends NotificationConfiguration
implements Serializable
Deprecated.
Represents the lambda configuration for an Amazon S3 bucket notification.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCloudFunctionConfiguration
(String invocationRole, String function, String... events) Deprecated.Creates a new lambda configuration with the given invocation role , function and set of events.CloudFunctionConfiguration
(String invocationRole, String function, EnumSet<S3Event> events) Deprecated.Creates a new lambda configuration with the given invocation role , function and set of events. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the ARN of the cloud function to be invoked.Deprecated.Returns the invocation role associated with this configuration.Methods inherited from class com.amazonaws.services.s3.model.NotificationConfiguration
addEvent, addEvent, addObjectPrefix, getEvents, getFilter, getObjectPrefixes, setEvents, setFilter, setObjectPrefixes, withEvents, withFilter, withObjectPrefixes
-
Constructor Details
-
CloudFunctionConfiguration
Deprecated.Creates a new lambda configuration with the given invocation role , function and set of events.- Parameters:
invocationRole
- the IAM role to be used by Amazon S3 for authentication.function
- the ARN of the lambda function to be invokedevents
- the events for which the notifications are to be sent
-
CloudFunctionConfiguration
Deprecated.Creates a new lambda configuration with the given invocation role , function and set of events.- Parameters:
invocationRole
- the IAM role to be used by Amazon S3 for authentication.function
- the ARN of the lambda function to be invokedevents
- the events for which the notifications are to be sent
-
-
Method Details
-
getInvocationRoleARN
Deprecated.Returns the invocation role associated with this configuration. -
getCloudFunctionARN
Deprecated.Returns the ARN of the cloud function to be invoked.
-
LambdaConfiguration
instead