Ambassador · JSON Structure

Ambassador Mapping Spec Structure

Type: object Properties: 29
API DevelopmentGatewaysIngressKubernetesMock ServersMocksPlatformTesting

MappingSpec is a JSON Structure definition published by Ambassador, describing 29 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

hostname prefix prefix_regex prefix_exact service rewrite method method_regex headers query_parameters host host_regex timeout_ms idle_timeout_ms connect_timeout_ms cluster_idle_timeout_ms weight bypass_auth circuit_breakers labels add_request_headers add_response_headers remove_request_headers remove_response_headers allow_upgrade grpc enable_ipv4 enable_ipv6 ambassador_id

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "MappingSpec",
  "type": "object",
  "properties": {
    "hostname": {
      "type": "string"
    },
    "prefix": {
      "type": "string"
    },
    "prefix_regex": {
      "type": "boolean"
    },
    "prefix_exact": {
      "type": "boolean"
    },
    "service": {
      "type": "string"
    },
    "rewrite": {
      "type": "string"
    },
    "method": {
      "type": "string"
    },
    "method_regex": {
      "type": "boolean"
    },
    "headers": {
      "type": "object"
    },
    "query_parameters": {
      "type": "object"
    },
    "host": {
      "type": "string"
    },
    "host_regex": {
      "type": "boolean"
    },
    "timeout_ms": {
      "type": "integer"
    },
    "idle_timeout_ms": {
      "type": "integer"
    },
    "connect_timeout_ms": {
      "type": "integer"
    },
    "cluster_idle_timeout_ms": {
      "type": "integer"
    },
    "weight": {
      "type": "integer"
    },
    "bypass_auth": {
      "type": "boolean"
    },
    "circuit_breakers": {
      "type": "array"
    },
    "labels": {
      "type": "object"
    },
    "add_request_headers": {
      "type": "object"
    },
    "add_response_headers": {
      "type": "object"
    },
    "remove_request_headers": {
      "type": "array"
    },
    "remove_response_headers": {
      "type": "array"
    },
    "allow_upgrade": {
      "type": "array"
    },
    "grpc": {
      "type": "boolean"
    },
    "enable_ipv4": {
      "type": "boolean"
    },
    "enable_ipv6": {
      "type": "boolean"
    },
    "ambassador_id": {
      "type": "array"
    }
  }
}