{
  "id": "aws_ec2_instance_type",
  "kind": "datatype",
  "status": "draft",
  "name": "Amazon EC2 instance type",
  "doc": "Type of a virtual server of Amazon Elastic Compute Cloud (EC2): the instance family, made of a series (t, m, c, r, inf, mac), a generation number and option letters (t2, m5, c5n, r6g, c7gn), then a dot and the size (nano, micro, small, medium, large, xlarge, 2xlarge and larger multiples, or metal for bare metal): t2.micro, m4.large, c5.2xlarge. Cost and usage reports, reserved instance tables and inventory exports give it per instance. The instance itself has an ID (aws_ec2_instance_id).",
  "is_pii": false,
  "categories": [
    "software"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^[a-z][a-z0-9-]*\\d[a-z0-9-]*\\.(?:nano|micro|small|medium|large|\\d{0,3}xlarge|metal(?:-\\d{1,3}xl)?)$",
  "examples": [
    {
      "value": "t2.micro",
      "valid": true
    },
    {
      "value": "m4.large",
      "valid": true
    },
    {
      "value": "c5.2xlarge",
      "valid": true
    },
    {
      "value": "c7gn.xlarge",
      "description": "example of the AWS documentation on instance type names",
      "valid": true
    },
    {
      "value": "m7i-flex.large",
      "description": "a flex instance",
      "valid": true
    },
    {
      "value": "m4-large",
      "description": "Hyphen instead of the dot",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html"
    }
  ],
  "translations": {
    "ru": {
      "name": "Тип инстанса Amazon EC2"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "awsec2instancetypebyname",
        "type": "field",
        "match": "regex",
        "file": "common/software.yaml"
      },
      {
        "rule": "awsec2instancetypevalue",
        "type": "data",
        "match": "func",
        "file": "common/software.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/software/aws_ec2_instance_type.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/software/aws_ec2_instance_type.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/software/aws_ec2_instance_type.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/aws_ec2_instance_type",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/aws_ec2_instance_type.json"
  }
}