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?
time.sleep(2)
        
        retry(function=check_expected_lambda_log_events_length, retries=3, sleep=1,
              expected_length=len(events_before) + 1, function_name=function_name)
        
        sns_client.delete_topic(TopicArn=topic_arn)
        s3_client.delete_objects(Bucket=bucket_name, Delete={'Objects': [{'Key': key}]})
        s3_client.delete_bucket(Bucket=bucket_name)
class TestDockerBehaviour(LambdaTestBase):
    @classmethod
    def setUpClass(cls):
        cls.lambda_client = aws_stack.connect_to_service('lambda')
    def test_prime_and_destroy_containers(self):
        
        if not isinstance(lambda_api.LAMBDA_EXECUTOR,
                          lambda_executors.LambdaExecutorReuseContainers):
            return
        executor = lambda_api.LAMBDA_EXECUTOR
        func_name = 'test_prime_and_destroy_containers'
        func_arn = lambda_api.func_arn(func_name)
        
        executor.cleanup()
        self.assertEqual(len(executor.get_all_container_names()), 0)
        
        testutil.create_lambda_function(
            func_name=func_name, handler_file=TEST_LAMBDA_ENV, libs=TEST_LAMBDA_LIBS,
            runtime=LAMBDA_RUNTIME_PYTHON27, envvars={'Hello': 'World'})
        self.assertEqual(len(executor.get_all_container_names()), 0)
        self.assertDictEqual(executor.function_invoke_times, {})