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?
}
        iam_client.create_role(
            RoleName=role_name,
            AssumeRolePolicyDocument=json.dumps(assume_policy_document)
        )
        Util.create_function('testLambda', TEST_LAMBDA_NAME_PY,
                             runtime=LAMBDA_RUNTIME_PYTHON37, libs=TEST_LAMBDA_LIBS)
        action = 'lambda:InvokeFunction'
        sid = 'logs'
        resp = lambda_client.add_permission(FunctionName='testLambda', Action=action,
                                            StatementId=sid, Principal='logs.amazonaws.com')
        self.assertIn('Statement', resp)
        sid = 'kinesis'
        resp = lambda_client.add_permission(FunctionName='testLambda', Action=action,
                                            StatementId=sid, Principal='kinesis.amazonaws.com')
        self.assertIn('Statement', resp)
        
        testutil.delete_lambda_function(TEST_LAMBDA_PYTHON)
class TestNodeJSRuntimes(LambdaTestBase):
    @classmethod
    def setUpClass(cls):
        cls.lambda_client = aws_stack.connect_to_service('lambda')
    def test_nodejs_lambda_running_in_docker(self):
        if not use_docker():
            return
        testutil.create_lambda_function(
            func_name=TEST_LAMBDA_NAME_JS,
            handler_file=TEST_LAMBDA_NODEJS,
            handler='lambda_integration.handler',
            runtime=LAMBDA_RUNTIME_NODEJS810