{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-cloudformation-moduledefaultversion.json",
  "title": "AWSCloudFormationModuleDefaultVersionProperties",
  "description": "A module that has been registered in the CloudFormation registry as the default version. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-cloudformation>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-cloudformation-moduledefaultversion.json",
    "sourceSha256": "e0ba7e44e5d8ccfc55f70baaa9d211a50b4c9dfc1aeef91c68a7dc3371bea41a"
  },
  "type": "object",
  "properties": {
    "Arn": {
      "oneOf": [
        {
          "pattern": "^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/module/.+/[0-9]{8}$",
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The Amazon Resource Name (ARN) of the module version to set as the default version."
    },
    "ModuleName": {
      "oneOf": [
        {
          "pattern": "^[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::MODULE",
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of a module existing in the registry."
    },
    "VersionId": {
      "oneOf": [
        {
          "pattern": "^[0-9]{8}$",
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ID of an existing version of the named module to set as the default."
    }
  },
  "typeName": "AWS::CloudFormation::ModuleDefaultVersion",
  "additionalProperties": false,
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-cloudformation",
  "additionalIdentifiers": [
    [
      "/properties/ModuleName"
    ]
  ],
  "oneOf": [
    {
      "required": [
        "Arn"
      ]
    },
    {
      "required": [
        "ModuleName",
        "VersionId"
      ]
    }
  ],
  "createOnlyProperties": [
    "/properties/Arn",
    "/properties/ModuleName",
    "/properties/VersionId"
  ],
  "writeOnlyProperties": [
    "/properties/ModuleName",
    "/properties/VersionId"
  ],
  "primaryIdentifier": [
    "/properties/Arn"
  ]
}
