Class CloudFunctionConfiguration

    • 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 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 Detail

      • 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.