Manifests/AmazonCorretto20.json

{
    "Name": "Amazon Corretto 20",
    "Source": "https://aws.amazon.com/corretto/",
    "Get": {
        "Update": {
            "Uri": ""
        },
        "Download": {
            "Uri": [
                "https://corretto.aws/downloads/latest/amazon-corretto-20-x64-windows-jdk.msi",
                "https://corretto.aws/downloads/latest/amazon-corretto-20-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": []
        }
    }
}