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?
'region_name': config.DEFAULT_REGION,
                'input': {}
            })
        )
        time.sleep(1)
        rs = sfn_client.list_executions(
            stateMachineArn=sm_arn
        )
        
        self.assertEqual(
            len([ex for ex in rs['executions'] if ex['stateMachineArn'] == sm_arn]),
            1
        )
        
        testutil.delete_lambda_function(function_name)
        testutil.delete_lambda_function(resource_lambda_name)
        
        sfn_client.delete_state_machine(stateMachineArn=sm_arn)
    def create_multiple_lambda_permissions(self):
        iam_client = aws_stack.connect_to_service('iam')
        lambda_client = aws_stack.connect_to_service('lambda')
        role_name = 'role-{}'.format(short_uid())
        assume_policy_document = {
            'Version': '2012-10-17',
            'Statement': [
                {
                    'Action': 'sts:AssumeRole',
                    'Principal': {'Service': 'lambda.amazonaws.com'}
                }
            ]