{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-appconfig-extension.json",
  "title": "AWSAppConfigExtensionProperties",
  "description": "Resource Type definition for AWS::AppConfig::Extension. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-appconfig-extension.json",
    "sourceSha256": "6c7ec865081f01a8319191a787db06ccbccd67c3033a0a48a140cb6045fd66fe"
  },
  "type": "object",
  "properties": {
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Name of the extension."
    },
    "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 extension."
    },
    "Actions": {
      "type": "object",
      "additionalProperties": false,
      "patternProperties": {
        "^.+$": {
          "$ref": "#/$defs/Actions"
        }
      }
    },
    "Parameters": {
      "type": "object",
      "additionalProperties": false,
      "patternProperties": {
        "^.+$": {
          "$ref": "#/$defs/Parameter"
        }
      }
    },
    "LatestVersionNumber": {
      "type": "integer"
    },
    "Tags": {
      "description": "An array of key-value tags to apply to this resource.",
      "type": "array",
      "uniqueItems": false,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::AppConfig::Extension",
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": true,
    "tagProperty": "/properties/Tags"
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "$defs": {
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            {
              "$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 128 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": 256
            },
            {
              "$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 0 to 256 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": "AWSAppConfigExtensionTagDefinition",
      "additionalProperties": false
    },
    "Actions": {
      "description": "A list of actions for an extension to take at a specific action point.",
      "uniqueItems": true,
      "type": "array",
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Action"
      },
      "title": "AWSAppConfigExtensionActionsDefinition"
    },
    "Action": {
      "description": "An action for an extension to take at a specific action point.",
      "type": "object",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The name of the extension action."
        },
        "Description": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 0,
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The description of the extension Action."
        },
        "Uri": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 2048
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The URI of the extension action."
        },
        "RoleArn": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 20,
              "maxLength": 2048
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The ARN of the role for invoking the extension action."
        }
      },
      "required": [
        "Name",
        "Uri"
      ],
      "title": "AWSAppConfigExtensionActionDefinition",
      "additionalProperties": false
    },
    "Parameter": {
      "description": "A parameter for the extension to send to a specific action.",
      "type": "object",
      "properties": {
        "Description": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 0,
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The description of the extension Parameter."
        },
        "Required": {
          "type": "boolean"
        }
      },
      "required": [
        "Required"
      ],
      "title": "AWSAppConfigExtensionParameterDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "Name",
    "Actions"
  ],
  "createOnlyProperties": [
    "/properties/Name",
    "/properties/Tags",
    "/properties/Tags/*/Key",
    "/properties/Tags/*/Value"
  ],
  "readOnlyProperties": [
    "/properties/Id",
    "/properties/Arn",
    "/properties/VersionNumber"
  ],
  "writeOnlyProperties": [
    "/properties/LatestVersionNumber",
    "/properties/Tags",
    "/properties/Tags/*/Key",
    "/properties/Tags/*/Value"
  ]
}
