{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ssmincidents-replicationset.json",
  "title": "AWSSSMIncidentsReplicationSetProperties",
  "description": "Resource type definition for AWS::SSMIncidents::ReplicationSet. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ssm-incidents.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-ssmincidents-replicationset.json",
    "sourceSha256": "16ce80829532858811497e78005564af15b6248f56769c40d288cef00b6bfdff"
  },
  "type": "object",
  "properties": {
    "Regions": {
      "description": "The ReplicationSet configuration.",
      "$ref": "#/$defs/RegionList"
    },
    "DeletionProtected": {
      "$ref": "#/$defs/DeletionProtected",
      "default": false
    },
    "Tags": {
      "description": "The tags to apply to the replication set.",
      "type": "array",
      "default": [],
      "uniqueItems": true,
      "insertionOrder": false,
      "maxItems": 50,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::SSMIncidents::ReplicationSet",
  "readOnlyProperties": [
    "/properties/Arn"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ssm-incidents.git",
  "additionalProperties": false,
  "taggable": true,
  "$defs": {
    "Arn": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^arn:aws(-(cn|us-gov|iso(-b)?))?:[a-z-]+:(([a-z]+-)+[0-9])?:([0-9]{12})?:[^.]+$",
          "maxLength": 1000
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ARN of the ReplicationSet.",
      "title": "AWSSSMIncidentsReplicationSetArnDefinition"
    },
    "RegionName": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 20
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The AWS region name.",
      "title": "AWSSSMIncidentsReplicationSetRegionNameDefinition"
    },
    "ReplicationRegion": {
      "description": "The ReplicationSet regional configuration.",
      "type": "object",
      "title": "AWSSSMIncidentsReplicationSetReplicationRegionDefinition",
      "properties": {
        "RegionName": {
          "$ref": "#/$defs/RegionName"
        },
        "RegionConfiguration": {
          "$ref": "#/$defs/RegionConfiguration"
        }
      },
      "additionalProperties": false
    },
    "RegionConfiguration": {
      "description": "The ReplicationSet regional configuration.",
      "type": "object",
      "title": "AWSSSMIncidentsReplicationSetRegionConfigurationDefinition",
      "properties": {
        "SseKmsKeyId": {
          "$ref": "#/$defs/Arn"
        }
      },
      "required": [
        "SseKmsKeyId"
      ],
      "additionalProperties": false
    },
    "DeletionProtected": {
      "description": "Configures the ReplicationSet deletion protection.",
      "type": "boolean",
      "title": "AWSSSMIncidentsReplicationSetDeletionProtectedDefinition"
    },
    "RegionList": {
      "type": "array",
      "minItems": 1,
      "maxItems": 3,
      "items": {
        "$ref": "#/$defs/ReplicationRegion"
      },
      "insertionOrder": false,
      "uniqueItems": true,
      "title": "AWSSSMIncidentsReplicationSetRegionListDefinition"
    },
    "Tag": {
      "description": "A key-value pair to tag a resource.",
      "title": "AWSSSMIncidentsReplicationSetTagDefinition",
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$",
              "minLength": 1,
              "maxLength": 128
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Value",
        "Key"
      ],
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Arn"
  ],
  "required": [
    "Regions"
  ]
}
