{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-route53resolver-firewallrulegroup.json",
  "title": "AWSRoute53ResolverFirewallRuleGroupProperties",
  "description": "Resource schema for AWS::Route53Resolver::FirewallRuleGroup.. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-route53resolver-firewallrulegroup.json",
    "sourceSha256": "a007f15c9f96ac4930117cb706f923806fa3c935a1e2a01de7c22f882415d32f"
  },
  "type": "object",
  "properties": {
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "(?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+)",
          "minLength": 1,
          "maxLength": 64
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "FirewallRuleGroupName"
    },
    "FirewallRules": {
      "description": "FirewallRules",
      "type": "array",
      "insertionOrder": false,
      "uniqueItems": true,
      "items": {
        "$ref": "#/$defs/FirewallRule"
      }
    },
    "Tags": {
      "description": "Tags",
      "type": "array",
      "insertionOrder": false,
      "uniqueItems": true,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::Route53Resolver::FirewallRuleGroup",
  "$defs": {
    "FirewallRule": {
      "description": "Firewall Rule associating the Rule Group to a Domain List",
      "type": "object",
      "properties": {
        "FirewallDomainListId": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "ResourceId"
        },
        "Priority": {
          "description": "Rule Priority",
          "type": "integer"
        },
        "Action": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "ALLOW",
                "BLOCK",
                "ALERT"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Rule Action"
        },
        "BlockResponse": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "NODATA",
                "NXDOMAIN",
                "OVERRIDE"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "BlockResponse"
        },
        "BlockOverrideDomain": {
          "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": "BlockOverrideDomain"
        },
        "BlockOverrideDnsType": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "CNAME"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "BlockOverrideDnsType"
        },
        "BlockOverrideTtl": {
          "description": "BlockOverrideTtl",
          "type": "integer",
          "minimum": 0,
          "maximum": 604800
        }
      },
      "required": [
        "FirewallDomainListId",
        "Priority",
        "Action"
      ],
      "title": "AWSRoute53ResolverFirewallRuleGroupFirewallRuleDefinition",
      "additionalProperties": false
    },
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "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": "The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -."
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 0,
              "maxLength": 255
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -."
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSRoute53ResolverFirewallRuleGroupTagDefinition",
      "additionalProperties": false
    }
  },
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "createOnlyProperties": [
    "/properties/Name"
  ],
  "readOnlyProperties": [
    "/properties/Id",
    "/properties/Arn",
    "/properties/RuleCount",
    "/properties/Status",
    "/properties/StatusMessage",
    "/properties/OwnerId",
    "/properties/ShareStatus",
    "/properties/CreatorRequestId",
    "/properties/CreationTime",
    "/properties/ModificationTime"
  ]
}
