### 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_
@pytest.mark.aws_validated
    def test_tag_limits(self, create_lambda_function, snapshot, aws_client):
        """test the limit of 50 tags per resource"""
        function_name = f"fn-tag-{short_uid()}"
        create_lambda_function(
            handler_file=TEST_LAMBDA_PYTHON_ECHO,
            func_name=function_name,
            runtime=Runtime.python3_9,
        )
        function_arn = aws_client.awslambda.get_function(FunctionName=function_name)[
            "Configuration"
        ]["FunctionArn"]
        
        with pytest.raises(aws_client.awslambda.exceptions.InvalidParameterValueException) as e:
            aws_client.awslambda.tag_resource(
                Resource=function_arn, Tags={f"{k}_key": f"{k}_value" for k in range(51)}
            )
        snapshot.match("tag_lambda_too_many_tags", e.value.response)
        
        tag_response = aws_client.awslambda.tag_resource(
            Resource=function_arn, Tags={f"{k}_key": f"{k}_value" for k in range(50)}
        )
        snapshot.match("tag_response", tag_response)
        list_tags_response = aws_client.awslambda.list_tags(Resource=function_arn)
        snapshot.match("list_tags_response", list_tags_response)
        get_fn_response = aws_client.awslambda.get_function(FunctionName=function_name)
        snapshot.match("get_fn_response", get_fn_response)
        
        with pytest.raises(aws_client.awslambda.exceptions.InvalidParameterValueException) as e:
            aws_client.awslambda.tag_resource(Resource=function_arn, Tags={"a_key": "a_value"})