{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-globalaccelerator-accelerator.json",
  "title": "AWSGlobalAcceleratorAcceleratorProperties",
  "description": "Resource Type definition for AWS::GlobalAccelerator::Accelerator. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-globalaccelerator>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-globalaccelerator-accelerator.json",
    "sourceSha256": "9b5d1ea1114fd6b262fb81f806ed32c99ce64e426eccd102c80e9b19c61d852e"
  },
  "type": "object",
  "properties": {
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_-]{0,64}$",
          "minLength": 1,
          "maxLength": 64
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Name of accelerator."
    },
    "IpAddressType": {
      "oneOf": [
        {
          "type": "string",
          "default": "IPV4",
          "enum": [
            "IPV4",
            "DUAL_STACK"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "IP Address type."
    },
    "IpAddresses": {
      "description": "The IP addresses from BYOIP Prefix pool.",
      "default": null,
      "type": "array",
      "items": {
        "$ref": "#/$defs/IpAddress"
      }
    },
    "Enabled": {
      "description": "Indicates whether an accelerator is enabled. The value is true or false.",
      "default": true,
      "type": "boolean"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::GlobalAccelerator::Accelerator",
  "$defs": {
    "Tag": {
      "description": "Tag is a key-value pair associated with accelerator.",
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 127
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Key of the tag. Value can be 1 to 127 characters."
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 255
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Value for the tag. Value can be 1 to 255 characters."
        }
      },
      "required": [
        "Value",
        "Key"
      ],
      "title": "AWSGlobalAcceleratorAcceleratorTagDefinition",
      "additionalProperties": false
    },
    "IpAddress": {
      "oneOf": [
        {
          "pattern": "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$",
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "An IPV4 address",
      "title": "AWSGlobalAcceleratorAcceleratorIpAddressDefinition"
    }
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-globalaccelerator",
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/AcceleratorArn"
  ],
  "required": [
    "Name"
  ],
  "readOnlyProperties": [
    "/properties/AcceleratorArn",
    "/properties/DnsName",
    "/properties/Ipv4Addresses",
    "/properties/Ipv6Addresses",
    "/properties/DualStackDnsName"
  ]
}
