### 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_
cleanups.append(
            lambda: aws_client.awslambda.delete_layer_version(
                LayerName=layer_name, VersionNumber=publish_result_2["Version"]
            )
        )
        snapshot.match("publish_result_2", publish_result_2)
        assert publish_result["Version"] == 1
        assert publish_result_2["Version"] == 2
        assert publish_result["Content"]["CodeSha256"] == publish_result_2["Content"]["CodeSha256"]
        update_fn_config = aws_client.awslambda.update_function_configuration(
            FunctionName=function_name, Layers=[publish_result["LayerVersionArn"]]
        )
        snapshot.match("update_fn_config", update_fn_config)
        
        aws_client.awslambda.get_waiter("function_updated_v2").wait(FunctionName=function_name)
        get_fn_config = aws_client.awslambda.get_function_configuration(FunctionName=function_name)
        snapshot.match("get_fn_config", get_fn_config)
        get_layer_ver_result = aws_client.awslambda.get_layer_version(
            LayerName=layer_name, VersionNumber=publish_result["Version"]
        )
        snapshot.match("get_layer_ver_result", get_layer_ver_result)
        get_layer_by_arn_version = aws_client.awslambda.get_layer_version_by_arn(
            Arn=publish_result["LayerVersionArn"]
        )
        snapshot.match("get_layer_by_arn_version", get_layer_by_arn_version)
        list_layer_versions_predelete = aws_client.awslambda.list_layer_versions(
            LayerName=layer_name
        )
        snapshot.match("list_layer_versions_predelete", list_layer_versions_predelete)