Manifests/AmazonCorretto22.json

{
    "Name": "Amazon Corretto 22",
    "Source": "https://aws.amazon.com/corretto/",
    "Get": {
        "Update": {
            "Uri": ""
        },
        "Download": {
            "Uri": [
                "https://corretto.aws/downloads/latest/amazon-corretto-22-x64-windows-jdk.msi",
                "https://corretto.aws/downloads/latest/amazon-corretto-22-x64-windows-jdk.zip"
            ],
            "Property": "ResponseUri.Headers.Location",
            "MatchVersion": "(\\d+(\\.\\d+){1,4})"
        }
    },
    "Install": {
        "Setup": "amazon-corretto-*.msi",
        "Physical": {
            "Arguments": "/install /passive /norestart",
            "PostInstall": []
        },
        "Virtual": {
            "Arguments": "/install /passive /norestart",
            "PostInstall": []
        }
    }
}