{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-servicecatalogappregistry-resourceassociation.json",
  "title": "AWSServiceCatalogAppRegistryResourceAssociationProperties",
  "description": "Resource Schema for AWS::ServiceCatalogAppRegistry::ResourceAssociation. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-servicecatalog-appregistry.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-servicecatalogappregistry-resourceassociation.json",
    "sourceSha256": "2344c14f6b3a05401d1a44a76dc9b834f593feb09730433d282571ca0812ea1e"
  },
  "type": "object",
  "properties": {
    "Application": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 256,
          "pattern": "\\w+|[a-z0-9]{12}"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name or the Id of the Application."
    },
    "Resource": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "\\w+|arn:aws[-a-z]*:cloudformation:[a-z]{2}(-gov)?-[a-z]+-\\d:\\d{12}:stack/[a-zA-Z][-A-Za-z0-9]{0,127}/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name or the Id of the Resource."
    },
    "ResourceType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "CFN_STACK"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The type of the CFN Resource for now it's enum CFN_STACK."
    }
  },
  "typeName": "AWS::ServiceCatalogAppRegistry::ResourceAssociation",
  "taggable": false,
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-servicecatalog-appregistry.git",
  "documentationUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-appregistry-resourceassociation.html",
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "required": [
    "Application",
    "Resource",
    "ResourceType"
  ],
  "readOnlyProperties": [
    "/properties/ApplicationArn",
    "/properties/ResourceArn",
    "/properties/Id"
  ],
  "createOnlyProperties": [
    "/properties/Application",
    "/properties/Resource",
    "/properties/ResourceType"
  ]
}
