github.com/kyma-project/kyma-environment-broker@v0.0.1/internal/broker/testdata/aws-schema-eu-region-required.json (about)

     1  {
     2    "$schema": "http://json-schema.org/draft-04/schema#",
     3    "_controlsOrder": [
     4      "name",
     5      "region",
     6      "machineType",
     7      "autoScalerMin",
     8      "autoScalerMax",
     9      "modules",
    10      "networking"
    11    ],
    12    "_show_form_view": true,
    13    "properties": {
    14      "autoScalerMax": {
    15        "default": 20,
    16        "description": "Specifies the maximum number of virtual machines to create",
    17        "maximum": 80,
    18        "minimum": 3,
    19        "type": "integer"
    20      },
    21      "autoScalerMin": {
    22        "default": 3,
    23        "description": "Specifies the minimum number of virtual machines to create",
    24        "minimum": 3,
    25        "type": "integer"
    26      },
    27      "machineType": {
    28        "enum": [
    29          "m5.xlarge",
    30          "m5.2xlarge",
    31          "m5.4xlarge",
    32          "m5.8xlarge",
    33          "m5.12xlarge",
    34          "m6i.xlarge",
    35          "m6i.2xlarge",
    36          "m6i.4xlarge",
    37          "m6i.8xlarge",
    38          "m6i.12xlarge"
    39        ],
    40        "type": "string"
    41      },
    42      "modules": {
    43        "_controlsOrder": [
    44          "default",
    45          "list"
    46        ],
    47        "description": "Use default modules or provide your custom list of modules.",
    48        "oneOf": [
    49          {
    50            "additionalProperties": false,
    51            "description": "Default modules",
    52            "properties": {
    53              "default": {
    54                "default": true,
    55                "description": "Check the default modules at: https://help.sap.com/docs/btp/sap-business-technology-platform/kyma-modules?version=Cloud.",
    56                "readOnly": true,
    57                "title": "Use Default",
    58                "type": "boolean"
    59              }
    60            },
    61            "title": "Default",
    62            "type": "object"
    63          },
    64          {
    65            "additionalProperties": false,
    66            "description": "Define custom module list",
    67            "properties": {
    68              "list": {
    69                "description": "Select a module technical name from the list available at: https://help.sap.com/docs/btp/sap-business-technology-platform/kyma-modules?version=Cloud. You can only use a module technical name once.",
    70                "items": {
    71                  "_controlsOrder": [
    72                    "name",
    73                    "channel",
    74                    "customResourcePolicy"
    75                  ],
    76                  "properties": {
    77                    "channel": {
    78                      "_enumDisplayName": {
    79                        "fast": "Fast - latest version",
    80                        "regular": "Regular - default version"
    81                      },
    82                      "default": "regular",
    83                      "description": "Select your preferred release channel.",
    84                      "enum": [
    85                        "regular",
    86                        "fast"
    87                      ],
    88                      "type": "string"
    89                    },
    90                    "customResourcePolicy": {
    91                      "_enumDisplayName": {
    92                        "CreateAndDelete": "CreateAndDelete - default module resource is created or deleted.",
    93                        "Ignore": "Ignore - module resource is not created."
    94                      },
    95                      "default": "CreateAndDelete",
    96                      "description": "Select your preferred CustomResourcePolicy setting.",
    97                      "enum": [
    98                        "CreateAndDelete",
    99                        "Ignore"
   100                      ],
   101                      "type": "string"
   102                    },
   103                    "name": {
   104                      "description": "Select a module technical name from the list available at: https://help.sap.com/docs/btp/sap-business-technology-platform/kyma-modules?version=Cloud. You can only use a module technical name once.",
   105                      "minLength": 1,
   106                      "title": "Name",
   107                      "type": "string"
   108                    }
   109                  },
   110                  "type": "object"
   111                },
   112                "type": "array",
   113                "uniqueItems": true
   114              }
   115            },
   116            "title": "Custom",
   117            "type": "object"
   118          }
   119        ],
   120        "type": "object"
   121      },
   122      "name": {
   123        "_BTPdefaultTemplate": {
   124          "elements": [
   125            "saSubdomain"
   126          ]
   127        },
   128        "minLength": 1,
   129        "pattern": "^[a-zA-Z0-9-]*$",
   130        "title": "Cluster Name",
   131        "type": "string"
   132      },
   133      "networking": {
   134        "description": "Networking configuration. These values are immutable and cannot be updated later.",
   135        "properties": {
   136          "nodes": {
   137            "default": "10.250.0.0/22",
   138            "description": "CIDR range for nodes, must not overlap with the following CIDRs: 10.96.0.0/13, 10.104.0.0/13, 10.243.128.0/17, 10.242.0.0/16, 10.243.0.0/17, 10.64.0.0/11, 10.254.0.0/16, 10.243.0.0/16",
   139            "title": "CIDR range for nodes",
   140            "type": "string"
   141          }
   142        },
   143        "required": [
   144          "nodes"
   145        ],
   146        "type": "object"
   147      },
   148      "region": {
   149        "enum": [
   150          "eu-central-1"
   151        ],
   152        "minLength": 1,
   153        "type": "string"
   154      }
   155    },
   156    "required": [
   157      "name",
   158      "region"
   159    ],
   160    "type": "object"
   161  }