request_​protocol

Version: v2023-05-30Includes use: Yes

Criterion name: Request Protocol

Matches whether the request uses the HTTP or HTTPS protocol.

Default criterion

These samples reflect the criterion's default settings. You can use these as is in your configurations or make adjustments based on the criterion's available options.

data "akamai_property_rules_builder" "request_protocol" {
  rules_v2023_05_30 {
    name     = "Request Protocol"
    comments = "Matches whether the request uses the HTTP or HTTPS protocol."
    criterion {
      request_protocol {
        value = "HTTP"
      }
    }
  }
}
"criterion": [
  {
    "name": "requestProtocol",
    "options": {
      "value": "HTTP"
    }
  }
]

Options

Option Description
value
Specifies the protocol. Value is one of:
  • HTTP
  • HTTPS