### Is there an existing issue for this?

- [X] I have searched the existing issues

### Enhancement description

AWS Lambda recently added support for Java 17 as managed runtime:
https://aws.amazon.com/about-aws/whats-new/2023/04/aws-lambda-java-17/



### 🧑‍💻 Implementation

_No response_

### Anything else?

_No response_
SourceArn=arns.s3_bucket_arn("test-bucket"),
        )
        snapshot.match("add_permission", resp)
        
        get_policy_result_base = aws_client.awslambda.get_policy(FunctionName=function_name)
        snapshot.match("get_policy", get_policy_result_base)
        
        fn_version_result = aws_client.awslambda.publish_version(FunctionName=function_name)
        snapshot.match("publish_version_result", fn_version_result)
        fn_version = fn_version_result["Version"]
        aws_client.awslambda.get_waiter("published_version_active").wait(FunctionName=function_name)
        get_function_result_after_publish = aws_client.awslambda.get_function(
            FunctionName=function_name
        )
        snapshot.match("get_function_result_after_publishing", get_function_result_after_publish)
        get_policy_result_after_publishing = aws_client.awslambda.get_policy(
            FunctionName=function_name
        )
        snapshot.match("get_policy_after_publishing_latest", get_policy_result_after_publishing)
        
        with pytest.raises(aws_client.awslambda.exceptions.ResourceNotFoundException) as e:
            aws_client.awslambda.get_policy(FunctionName=function_name, Qualifier=fn_version)
        snapshot.match("get_policy_after_publishing_new_version", e.value.response)
        
        aws_client.awslambda.add_permission(
            FunctionName=f"{function_name}:{fn_version}",  
            Action=action,
            StatementId=sid,
            Principal=principal,
            SourceArn=arns.s3_bucket_arn("test-bucket"),