{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ec2-natgateway.json",
  "title": "AWSEC2NatGatewayProperties",
  "description": "Resource Type definition for AWS::EC2::NatGateway. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-ec2-natgateway.json",
    "sourceSha256": "9ad60e71c94fb5c30b899a5f6727af793d5ce0cbdf5abffe72821b3fc95e76ba"
  },
  "type": "object",
  "properties": {
    "SubnetId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "ConnectivityType": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "PrivateIpAddress": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Tags": {
      "type": "array",
      "uniqueItems": false,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "AllocationId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "SecondaryAllocationIds": {
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": true,
      "items": {
        "type": "string"
      }
    },
    "SecondaryPrivateIpAddresses": {
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": true,
      "items": {
        "type": "string"
      }
    },
    "SecondaryPrivateIpAddressCount": {
      "type": "integer",
      "minimum": 1
    },
    "MaxDrainDurationSeconds": {
      "type": "integer"
    }
  },
  "typeName": "AWS::EC2::NatGateway",
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": true
  },
  "$defs": {
    "Tag": {
      "type": "object",
      "title": "AWSEC2NatGatewayTagDefinition",
      "properties": {
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Value",
        "Key"
      ],
      "additionalProperties": false
    }
  },
  "writeOnlyProperties": [
    "/properties/MaxDrainDurationSeconds"
  ],
  "additionalProperties": false,
  "required": [
    "SubnetId"
  ],
  "createOnlyProperties": [
    "/properties/SubnetId",
    "/properties/ConnectivityType",
    "/properties/AllocationId",
    "/properties/PrivateIpAddress"
  ],
  "primaryIdentifier": [
    "/properties/NatGatewayId"
  ],
  "readOnlyProperties": [
    "/properties/NatGatewayId"
  ]
}
