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?
FunctionName=function_name
        )
        self.assertEqual(response['ResponseMetadata']['HTTPStatusCode'], 204)
        response = lambda_client.delete_code_signing_config(
            CodeSigningConfigArn=code_signing_arn
        )
        self.assertEqual(response['ResponseMetadata']['HTTPStatusCode'], 204)
        testutil.delete_lambda_function(name=function_name)
class TestPythonRuntimes(LambdaTestBase):
    @classmethod
    def setUpClass(cls):
        cls.lambda_client = aws_stack.connect_to_service('lambda')
        cls.s3_client = aws_stack.connect_to_service('s3')
        cls.sns_client = aws_stack.connect_to_service('sns')
        Util.create_function(TEST_LAMBDA_PYTHON, TEST_LAMBDA_NAME_PY,
                             runtime=LAMBDA_RUNTIME_PYTHON27, libs=TEST_LAMBDA_LIBS)
    @classmethod
    def tearDownClass(cls):
        testutil.delete_lambda_function(TEST_LAMBDA_NAME_PY)
    def test_invocation_type_not_set(self):
        result = self.lambda_client.invoke(FunctionName=TEST_LAMBDA_NAME_PY, Payload=b'{}', LogType='Tail')
        result_data = json.loads(result['Payload'].read())
        
        self.assertEqual(result['StatusCode'], 200)
        self.assertEqual(result_data['event'], {})
        
        logs = result.get('LogResult', '')
        logs = to_str(base64.b64decode(to_str(logs)))
        self.assertIn('START', logs)
        self.assertIn('Lambda log message', logs)