LambdaConfiguration
instead@Deprecated public class CloudFunctionConfiguration extends NotificationConfiguration implements Serializable
Constructor and Description |
---|
CloudFunctionConfiguration(String invocationRole,
String function,
EnumSet<S3Event> events)
Deprecated.
Creates a new lambda configuration with the given invocation role ,
function and set of events.
|
CloudFunctionConfiguration(String invocationRole,
String function,
String... events)
Deprecated.
Creates a new lambda configuration with the given invocation role ,
function and set of events.
|
Modifier and Type | Method and Description |
---|---|
String |
getCloudFunctionARN()
Deprecated.
Returns the ARN of the cloud function to be invoked.
|
String |
getInvocationRoleARN()
Deprecated.
Returns the invocation role associated with this configuration.
|
addEvent, addEvent, addObjectPrefix, getEvents, getFilter, getObjectPrefixes, setEvents, setFilter, setObjectPrefixes, withEvents, withFilter, withObjectPrefixes
public CloudFunctionConfiguration(String invocationRole, String function, EnumSet<S3Event> events)
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 sentpublic CloudFunctionConfiguration(String invocationRole, String function, String... events)
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 sentCopyright © 2018. All rights reserved.