{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-appsync-graphqlapi.json",
  "title": "AWSAppSyncGraphQLApiProperties",
  "description": "Resource Type definition for AWS::AppSync::GraphQLApi. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-appsync-graphqlapi.json",
    "sourceSha256": "691f3004a599c2c179e923340b337fa934fb92b6b154cc8be271db87ddc8bc24"
  },
  "type": "object",
  "properties": {
    "OpenIDConnectConfig": {
      "$ref": "#/$defs/OpenIDConnectConfig"
    },
    "MergedApiExecutionRoleArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "OwnerContact": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "AdditionalAuthenticationProviders": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/AdditionalAuthenticationProvider"
      }
    },
    "ApiType": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "LambdaAuthorizerConfig": {
      "$ref": "#/$defs/LambdaAuthorizerConfig"
    },
    "XrayEnabled": {
      "type": "boolean"
    },
    "Visibility": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "UserPoolConfig": {
      "$ref": "#/$defs/UserPoolConfig"
    },
    "Tags": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "AuthenticationType": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "LogConfig": {
      "$ref": "#/$defs/LogConfig"
    }
  },
  "typeName": "AWS::AppSync::GraphQLApi",
  "readOnlyProperties": [
    "/properties/ApiId",
    "/properties/Id",
    "/properties/GraphQLDns",
    "/properties/GraphQLUrl",
    "/properties/RealtimeDns",
    "/properties/RealtimeUrl",
    "/properties/Arn"
  ],
  "$defs": {
    "OpenIDConnectConfig": {
      "type": "object",
      "title": "AWSAppSyncGraphQLApiOpenIDConnectConfigDefinition",
      "properties": {
        "ClientId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "AuthTTL": {
          "type": "number"
        },
        "Issuer": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "IatTTL": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "CognitoUserPoolConfig": {
      "type": "object",
      "title": "AWSAppSyncGraphQLApiCognitoUserPoolConfigDefinition",
      "properties": {
        "AppIdClientRegex": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "UserPoolId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "AwsRegion": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "LambdaAuthorizerConfig": {
      "type": "object",
      "title": "AWSAppSyncGraphQLApiLambdaAuthorizerConfigDefinition",
      "properties": {
        "IdentityValidationExpression": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "AuthorizerUri": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "AuthorizerResultTtlInSeconds": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "title": "AWSAppSyncGraphQLApiTagDefinition",
      "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
    },
    "UserPoolConfig": {
      "type": "object",
      "title": "AWSAppSyncGraphQLApiUserPoolConfigDefinition",
      "properties": {
        "AppIdClientRegex": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "UserPoolId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "AwsRegion": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DefaultAction": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "AdditionalAuthenticationProvider": {
      "type": "object",
      "title": "AWSAppSyncGraphQLApiAdditionalAuthenticationProviderDefinition",
      "properties": {
        "LambdaAuthorizerConfig": {
          "$ref": "#/$defs/LambdaAuthorizerConfig"
        },
        "OpenIDConnectConfig": {
          "$ref": "#/$defs/OpenIDConnectConfig"
        },
        "UserPoolConfig": {
          "$ref": "#/$defs/CognitoUserPoolConfig"
        },
        "AuthenticationType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "AuthenticationType"
      ],
      "additionalProperties": false
    },
    "LogConfig": {
      "type": "object",
      "title": "AWSAppSyncGraphQLApiLogConfigDefinition",
      "properties": {
        "ExcludeVerboseContent": {
          "type": "boolean"
        },
        "FieldLogLevel": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "CloudWatchLogsRoleArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "required": [
    "Name",
    "AuthenticationType"
  ],
  "createOnlyProperties": [
    "/properties/Visibility",
    "/properties/ApiType"
  ]
}
