Manifests/AmazonCorretto8.json

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