{
  "$schema": "",
  "contentVersion": "1.0.0.0",

  "parameters": {

    "CloudLabsDeploymentID": {
      "isDynamic": false,
      "userFriendlyLabel": "CloudLabs Deployment ID",
      "inputType": "text",
      "inputValues": "",
      "value": "GET-DEPLOYMENT-ID"
    },

    "VpcName": {
      "isDynamic": true,
      "userFriendlyLabel": "VPC Name",
      "inputType": "text",
      "inputValues": "",
      "value": "clgVpc"
    },

    "VpcCidr": {
      "isDynamic": false,
      "userFriendlyLabel": "VPC CIDR Block",
      "inputType": "text",
      "inputValues": "",
      "value": "10.10.0.0/16"
    },

    "VMSubnetName": {
      "isDynamic": true,
      "userFriendlyLabel": "VM Subnet Name",
      "inputType": "text",
      "inputValues": "",
      "value": "vmSubnet"
    },

    "VMSubnetCidr": {
      "isDynamic": false,
      "userFriendlyLabel": "VM Subnet CIDR",
      "inputType": "text",
      "inputValues": "",
      "value": "10.10.0.0/24"
    },

    "ClusterSubnetName": {
      "isDynamic": true,
      "userFriendlyLabel": "Cluster Subnet Name",
      "inputType": "text",
      "inputValues": "",
      "value": "clgClusterSubnet"
    },

    "ClusterSubnetCidr": {
      "isDynamic": false,
      "userFriendlyLabel": "Cluster Subnet CIDR",
      "inputType": "text",
      "inputValues": "",
      "value": "10.10.1.0/24"
    },

    "InternetGatewayName": {
      "isDynamic": true,
      "userFriendlyLabel": "Internet Gateway Name",
      "inputType": "text",
      "inputValues": "",
      "value": "clgInternetGateway"
    },

    "RouteTableName": {
      "isDynamic": true,
      "userFriendlyLabel": "Route Table Name",
      "inputType": "text",
      "inputValues": "",
      "value": "RouteTable"
    },

    "VMName": {
      "isDynamic": false,
      "userFriendlyLabel": "EC2 Instance Name",
      "inputType": "text",
      "inputValues": "",
      "value": "labvm"
    },

    "InstanceType": {
      "isDynamic": true,
      "userFriendlyLabel": "EC2 Instance Type",
      "inputType": "list",
      "inputValues": [
        { "displayName": "t2.micro",  "value": "t2.micro"  },
        { "displayName": "t2.small",  "value": "t2.small"  },
        { "displayName": "t3.micro",  "value": "t3.micro"  },
        { "displayName": "t3.small",  "value": "t3.small"  },
        { "displayName": "t3.medium", "value": "t3.medium" }
      ],
      "value": "t2.micro"
    },

    "KeyPairName": {
      "isDynamic": true,
      "userFriendlyLabel": "Key Pair Name",
      "inputType": "text",
      "inputValues": "",
      "value": "labkeypair"
    },

    "VMSecurityGroupName": {
      "isDynamic": true,
      "userFriendlyLabel": "VM Security Group Name",
      "inputType": "text",
      "inputValues": "",
      "value": "vmSecurityGroup"
    },

    "ClusterSecurityGroupName": {
      "isDynamic": true,
      "userFriendlyLabel": "Cluster Security Group Name",
      "inputType": "text",
      "inputValues": "",
      "value": "clgSg"
    },

    "TaskExecutionRoleName": {
      "isDynamic": true,
      "userFriendlyLabel": "ECS Task Execution Role Name",
      "inputType": "text",
      "inputValues": "",
      "value": "TaskExecutionRole"
    },

    "AmazonECSTaskExecutionRolePolicy": {
      "isDynamic": false,
      "userFriendlyLabel": "ECS Task Execution Role Policy ARN",
      "inputType": "text",
      "inputValues": "",
      "value": "arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy"
    },

    "VMUserName": {
      "isDynamic": true,
      "userFriendlyLabel": "VM Username",
      "inputType": "text",
      "inputValues": "",
      "value": "labuser"
    },

    "VMPassword": {
      "isDynamic": false,
      "userFriendlyLabel": "VM Password",
      "inputType": "password",
      "inputValues": "",
      "value": "Chkp!234"
    },

    "SSHLocation": {
      "isDynamic": false,
      "userFriendlyLabel": "SSH Allowed CIDR",
      "inputType": "text",
      "inputValues": "",
      "value": "0.0.0.0/0"
    },

    "HTTPSLocation": {
      "isDynamic": false,
      "userFriendlyLabel": "HTTPS Allowed CIDR",
      "inputType": "text",
      "inputValues": "",
      "value": "0.0.0.0/0"
    },

    "SSHPort": {
      "isDynamic": false,
      "userFriendlyLabel": "SSH Port",
      "inputType": "number",
      "inputValues": "",
      "value": 22
    },

    "HTTPSPort": {
      "isDynamic": false,
      "userFriendlyLabel": "HTTPS Port",
      "inputType": "number",
      "inputValues": "",
      "value": 443
    },

    "CheckAcknowledgement": {
      "isDynamic": true,
      "userFriendlyLabel": "Acknowledgement",
      "inputType": "checkbox",
      "inputValues": [
        "TRUE",
        "FALSE"
      ],
      "value": "TRUE"
    }

  }
}