### 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_
)
        snapshot.match(
            
            "is_total_code_size_diff_create_function_more_than_200",
            (
                acc_settings1["AccountUsage"]["TotalCodeSize"]
                - acc_settings0["AccountUsage"]["TotalCodeSize"]
            )
            > 200,
        )
        
        aws_client.awslambda.update_function_configuration(
            FunctionName=function_name, Runtime=Runtime.nodejs18_x
        )
        aws_client.awslambda.get_waiter("function_updated_v2").wait(FunctionName=function_name)
        acc_settings2 = aws_client.awslambda.get_account_settings()
        assert (
            acc_settings2["AccountUsage"]["TotalCodeSize"]
            == acc_settings1["AccountUsage"]["TotalCodeSize"]
        )
        snapshot.match(
            "total_code_size_diff_update_function_configuration",
            acc_settings2["AccountUsage"]["TotalCodeSize"]
            - acc_settings1["AccountUsage"]["TotalCodeSize"],
        )
        
        aws_client.awslambda.publish_version(
            FunctionName=function_name, Description="actually publish the config update"
        )
        aws_client.awslambda.get_waiter("function_active_v2").wait(FunctionName=function_name)