LambdaConfiguration
instead@Deprecated public class CloudFunctionConfiguration extends NotificationConfiguration implements java.io.Serializable
Constructor and Description |
---|
CloudFunctionConfiguration(java.lang.String invocationRole,
java.lang.String function,
java.util.EnumSet<S3Event> events)
Deprecated.
Creates a new lambda configuration with the given invocation role ,
function and set of events.
|
CloudFunctionConfiguration(java.lang.String invocationRole,
java.lang.String function,
java.lang.String... events)
Deprecated.
Creates a new lambda configuration with the given invocation role ,
function and set of events.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCloudFunctionARN()
Deprecated.
Returns the ARN of the cloud function to be invoked.
|
java.lang.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(java.lang.String invocationRole, java.lang.String function, java.util.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(java.lang.String invocationRole, java.lang.String function, java.lang.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 Amazon Web Services, Inc. All Rights Reserved.