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 Details

    • 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 invoked
      events - 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 invoked
      events - the events for which the notifications are to be sent
  • Method Details

    • getInvocationRoleARN

      public String getInvocationRoleARN()
      Deprecated.
      Returns the invocation role associated with this configuration.
    • getCloudFunctionARN

      public String getCloudFunctionARN()
      Deprecated.
      Returns the ARN of the cloud function to be invoked.