### 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_
StatementId="s2",
            RevisionId=get_layer_version_policy_postadd2["RevisionId"],
        )
        snapshot.match("remove_s2", remove_s2)
        get_layer_version_policy_postdeletes2 = aws_client.awslambda.get_layer_version_policy(
            LayerName=layer_name, VersionNumber=1
        )
        snapshot.match(
            "get_layer_version_policy_postdeletes2", get_layer_version_policy_postdeletes2
        )
@pytest.mark.skipif(condition=is_old_provider(), reason="not supported")
class TestLambdaSnapStart:
    @pytest.mark.aws_validated
    def test_snapstart_lifecycle(self, create_lambda_function, snapshot, aws_client):
        """Test the API of the SnapStart feature. The optimization behavior is not supported in LocalStack.
        Slow (~1-2min) against AWS.
        """
        function_name = f"fn-{short_uid()}"
        java_jar_with_lib = load_file(TEST_LAMBDA_JAVA_WITH_LIB, mode="rb")
        create_response = create_lambda_function(
            func_name=function_name,
            zip_file=java_jar_with_lib,
            runtime=Runtime.java11,
            handler="cloud.localstack.sample.LambdaHandlerWithLib",
            SnapStart={"ApplyOn": "PublishedVersions"},
        )
        snapshot.match("create_function_response", create_response)
        aws_client.awslambda.get_waiter("function_active_v2").wait(FunctionName=function_name)
        publish_response = aws_client.awslambda.publish_version(
            FunctionName=function_name, Description="version1"