AWS supports the following Ruby runtimes:

<!--StartFragment-->
Name | Identifier | SDK for Ruby | Operating system
-- | -- | -- | --
Ruby 2.7 | ruby2.7 | 3.0.1 | Amazon Linux 2
Ruby 2.5 | ruby2.5 | 3.0.1 | Amazon Linux

<!--EndFragment-->

Currently, `localstack/lambda` only contains the `ruby2.5` tag. Will the 2.7 runtime be supported in the (near) future?
'Destination': function_name
            }
        }
        
        self.assertEqual(response['MaximumRetryAttempts'], 123)
        self.assertEqual(response['MaximumEventAgeInSeconds'], 123)
        self.assertEqual(response['DestinationConfig'], destination_config)
        
        response = lambda_client.put_function_event_invoke_config(
            FunctionName=function_name,
            MaximumRetryAttempts=123,
            DestinationConfig={
                'OnSuccess': {
                    'Destination': function_name
                },
                'OnFailure': {
                    'Destination': function_name
                }
            }
        )
        
        self.assertNotIn('MaximumEventAgeInSeconds', response)
        self.assertEquals(isinstance(response['LastModified'], datetime), True)
        
        response = lambda_client.update_function_event_invoke_config(
            FunctionName=function_name,
            MaximumRetryAttempts=111,
        )
        
        self.assertEqual(response['MaximumRetryAttempts'], 111)