{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-appsync-sourceapiassociation.json",
  "title": "AWSAppSyncSourceApiAssociationProperties",
  "description": "Resource Type definition for AWS::AppSync::SourceApiAssociation. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-appsync>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-appsync-sourceapiassociation.json",
    "sourceSha256": "222150d4ba9afe35fc8899021eb88fd52f7ee9b6ded4755ca8de37bebe649372"
  },
  "type": "object",
  "properties": {
    "SourceApiIdentifier": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Identifier of the Source GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN"
    },
    "MergedApiIdentifier": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Identifier of the Merged GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN"
    },
    "Description": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Description of the SourceApiAssociation."
    },
    "SourceApiAssociationConfig": {
      "description": "Customized configuration for SourceApiAssociation.",
      "$ref": "#/$defs/SourceApiAssociationConfig"
    }
  },
  "typeName": "AWS::AppSync::SourceApiAssociation",
  "tagging": {
    "taggable": false,
    "tagOnCreate": false,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-appsync",
  "additionalProperties": false,
  "additionalIdentifiers": [
    [
      "/properties/SourceApiIdentifier",
      "/properties/MergedApiIdentifier"
    ]
  ],
  "$defs": {
    "SourceApiAssociationConfig": {
      "properties": {
        "MergeType": {
          "description": "Configuration of the merged behavior for the association. For example when it could be auto or has to be manual.",
          "type": "string",
          "enum": [
            "AUTO_MERGE",
            "MANUAL_MERGE"
          ]
        }
      },
      "title": "AWSAppSyncSourceApiAssociationSourceApiAssociationConfigDefinition",
      "additionalProperties": false,
      "type": "object"
    }
  },
  "readOnlyProperties": [
    "/properties/AssociationId",
    "/properties/AssociationArn",
    "/properties/SourceApiId",
    "/properties/SourceApiArn",
    "/properties/MergedApiId",
    "/properties/MergedApiArn",
    "/properties/SourceApiAssociationStatus",
    "/properties/SourceApiAssociationStatusDetail",
    "/properties/LastSuccessfulMergeDate"
  ],
  "writeOnlyProperties": [
    "/properties/SourceApiIdentifier",
    "/properties/MergedApiIdentifier"
  ],
  "createOnlyProperties": [
    "/properties/SourceApiIdentifier",
    "/properties/MergedApiIdentifier"
  ],
  "primaryIdentifier": [
    "/properties/AssociationArn"
  ]
}
