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?
'UntrustedArtifactOnDeployment': 'Enforce'
            }
        )
        self.assertIn('Description', response['CodeSigningConfig'])
        self.assertIn('SigningProfileVersionArns', response['CodeSigningConfig']['AllowedPublishers'])
        self.assertIn('UntrustedArtifactOnDeployment', response['CodeSigningConfig']['CodeSigningPolicies'])
        code_signing_arn = response['CodeSigningConfig']['CodeSigningConfigArn']
        response = lambda_client.update_code_signing_config(
            CodeSigningConfigArn=code_signing_arn,
            CodeSigningPolicies={
                'UntrustedArtifactOnDeployment': 'Warn'
            }
        )
        self.assertEqual(response['CodeSigningConfig']['CodeSigningPolicies']['UntrustedArtifactOnDeployment'], 'Warn')
        response = lambda_client.get_code_signing_config(
            CodeSigningConfigArn=code_signing_arn
        )
        self.assertEqual(response['ResponseMetadata']['HTTPStatusCode'], 200)
        response = lambda_client.put_function_code_signing_config(
            CodeSigningConfigArn=code_signing_arn,
            FunctionName=function_name
        )
        self.assertEqual(response['ResponseMetadata']['HTTPStatusCode'], 200)
        response = lambda_client.get_function_code_signing_config(
            FunctionName=function_name
        )
        self.assertEqual(response['ResponseMetadata']['HTTPStatusCode'], 200)
        self.assertEqual(response['CodeSigningConfigArn'], code_signing_arn)
        self.assertEqual(response['FunctionName'], function_name)
        response = lambda_client.delete_function_code_signing_config(