### 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_
)
        large_value = "test123456" * 100 * 1000 * 5
        snapshot.add_transformer(snapshot.transform.regex(large_value, "<large-value>"))
        payload = {"test": large_value}  
        result = aws_client.awslambda.invoke(
            FunctionName=function_name, Payload=to_bytes(json.dumps(payload))
        )
        snapshot.match("invocation_response", result)
    @pytest.mark.skip_snapshot_verify(
        condition=is_old_provider,
        paths=[
            "$..Tags",
            "$..Configuration.RevisionId",
            "$..Code.RepositoryType",
            "$..Layers",  
            "$..RuntimeVersionConfig",
        ],
    )
    @pytest.mark.aws_validated
    def test_function_state(self, lambda_su_role, snapshot, create_lambda_function_aws, aws_client):
        """Tests if a lambda starts in state "Pending" but moves to "Active" at some point"""
        function_name = f"test-function-{short_uid()}"
        zip_file = create_lambda_archive(load_file(TEST_LAMBDA_PYTHON_ECHO), get_content=True)
        
        create_response = create_lambda_function_aws(
            FunctionName=function_name,
            Runtime=Runtime.python3_9,
            Handler="handler.handler",
            Role=lambda_su_role,
            Code={"ZipFile": zip_file},