Manifests/AmazonCorretto.json

{
    "Name": "Amazon Corretto",
    "Source": "https://aws.amazon.com/corretto/",
    "Get": {
        "Update": {
            "Uri": ""
        },
        "Download": {
            "JDK": {
                "8": {
                    "x64msi" :"https://corretto.aws/downloads/latest/amazon-corretto-8-x64-windows-jdk.msi",
                    "x64jre" :"https://corretto.aws/downloads/latest/amazon-corretto-8-x64-windows-jre.zip",
                    "x86msi" :"https://corretto.aws/downloads/latest/amazon-corretto-8-x86-windows-jdk.msi",
                    "x86jre" :"https://corretto.aws/downloads/latest/amazon-corretto-8-x86-windows-jre.zip"
                },
                "11": {
                    "x64msi" :"https://corretto.aws/downloads/latest/amazon-corretto-11-x64-windows-jdk.msi",
                    "x86msi" :"https://corretto.aws/downloads/latest/amazon-corretto-11-x86-windows-jdk.msi"
                },
                "15": {
                    "x64msi" :"https://corretto.aws/downloads/latest/amazon-corretto-15-x64-windows-jdk.msi"

                },
                "16": {
                    "x64msi" :"https://corretto.aws/downloads/latest/amazon-corretto-16-x64-windows-jdk.msi"
                },
                "17": {
                    "x64msi" :"https://corretto.aws/downloads/latest/amazon-corretto-17-x64-windows-jdk.msi"
                }
            },
            "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": []
        }
    }
}