### 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_
assert "FunctionError" not in invoke_result
        payload = json.loads(invoke_result["Payload"].read())
        assert payload.get("platform_machine") == "x86_64"
        func_name_arm = f"test_lambda_arm_{short_uid()}"
        create_lambda_function(
            func_name=func_name_arm,
            handler_file=TEST_LAMBDA_INTROSPECT_PYTHON,
            runtime=Runtime.python3_9,
            Architectures=[Architecture.arm64],
        )
        invoke_result_arm = aws_client.awslambda.invoke(FunctionName=func_name_arm)
        assert "FunctionError" not in invoke_result_arm
        payload_arm = json.loads(invoke_result_arm["Payload"].read())
        assert payload_arm.get("platform_machine") == "aarch64"
        v1_result = aws_client.awslambda.publish_version(FunctionName=func_name)
        v1 = v1_result["Version"]
        
        aws_client.awslambda.get_waiter(waiter_name="function_active_v2").wait(
            FunctionName=func_name, Qualifier=v1
        )
        arm_v1_result = aws_client.awslambda.publish_version(FunctionName=func_name_arm)
        arm_v1 = arm_v1_result["Version"]
        
        aws_client.awslambda.get_waiter(waiter_name="function_active_v2").wait(
            FunctionName=func_name_arm, Qualifier=arm_v1
        )
        invoke_result_2 = aws_client.awslambda.invoke(FunctionName=func_name, Qualifier=v1)
        assert "FunctionError" not in invoke_result_2
        payload_2 = json.loads(invoke_result_2["Payload"].read())
        assert payload_2.get("platform_machine") == "x86_64"