WebsiteConfiguration

WebsiteConfiguration
WebsiteConfiguration
JSON Example
{
    "errorDocument": {
        "key": "string"
    },
    "indexDocument": {
        "suffix": "string"
    },
    "redirectAllRequestsTo": {
        "hostName": "string",
        "httpRedirectCode": "string",
        "protocol": "string",
        "replaceKeyPrefixWith": "string",
        "replaceKeyWith": "string"
    },
    "routingRules": [
        {
            "condition": {
                "httpErrorCodeReturnedEquals": "string",
                "keyPrefixEquals": "string"
            },
            "redirect": {
                "hostName": "string",
                "httpRedirectCode": "string",
                "protocol": "string",
                "replaceKeyPrefixWith": "string",
                "replaceKeyWith": "string"
            }
        }
    ]
}
errorDocument
Optional

errorDocument

indexDocument
Optional

indexDocument

redirectAllRequestsTo
Optional

redirectAllRequestsTo

routingRules
Optional

routingRules