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.useLambdaConfigurationinsteadRepresents the lambda configuration for an Amazon S3 bucket notification.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CloudFunctionConfiguration(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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetCloudFunctionARN()Deprecated.Returns the ARN of the cloud function to be invoked.StringgetInvocationRoleARN()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 Detail
-
CloudFunctionConfiguration
public CloudFunctionConfiguration(String invocationRole, String function, EnumSet<S3Event> events)
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
public CloudFunctionConfiguration(String invocationRole, String function, String... events)
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
-
-