{
  "typeName" : "AWS::Route53RecoveryReadiness::Cell",
  "description" : "The API Schema for AWS Route53 Recovery Readiness Cells.",
  "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-reoute53-recovery-readiness.git",
  "taggable" : true,
  "definitions" : {
    "Tag" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Key" : {
          "type" : "string"
        },
        "Value" : {
          "type" : "string"
        }
      },
      "required" : [ "Value", "Key" ]
    }
  },
  "properties" : {
    "CellName" : {
      "description" : "The name of the cell to create.",
      "type" : "string",
      "pattern" : "[a-zA-Z0-9_]+",
      "maxLength" : 64
    },
    "CellArn" : {
      "description" : "The Amazon Resource Name (ARN) of the cell.",
      "type" : "string",
      "maxLength" : 256
    },
    "Cells" : {
      "description" : "A list of cell Amazon Resource Names (ARNs) contained within this cell, for use in nested cells. For example, Availability Zones within specific Regions.",
      "type" : "array",
      "items" : {
        "type" : "string"
      },
      "maxItems" : 5,
      "insertionOrder" : false
    },
    "ParentReadinessScopes" : {
      "description" : "The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is a list but currently can have only one element.",
      "type" : "array",
      "items" : {
        "type" : "string"
      },
      "maxItems" : 5,
      "insertionOrder" : false
    },
    "Tags" : {
      "description" : "A collection of tags associated with a resource",
      "type" : "array",
      "items" : {
        "$ref" : "#/definitions/Tag",
        "maxItems" : 20
      },
      "insertionOrder" : false
    }
  },
  "additionalProperties" : false,
  "readOnlyProperties" : [ "/properties/CellArn", "/properties/ParentReadinessScopes" ],
  "createOnlyProperties" : [ "/properties/CellName" ],
  "primaryIdentifier" : [ "/properties/CellName" ],
  "handlers" : {
    "create" : {
      "permissions" : [ "route53-recovery-readiness:CreateCell", "route53-recovery-readiness:GetCell", "route53-recovery-readiness:ListTagsForResources", "route53-recovery-readiness:TagResource" ]
    },
    "read" : {
      "permissions" : [ "route53-recovery-readiness:GetCell", "route53-recovery-readiness:ListTagsForResources" ]
    },
    "update" : {
      "permissions" : [ "route53-recovery-readiness:GetCell", "route53-recovery-readiness:ListTagsForResources", "route53-recovery-readiness:TagResource", "route53-recovery-readiness:UntagResource", "route53-recovery-readiness:UpdateCell" ]
    },
    "delete" : {
      "permissions" : [ "route53-recovery-readiness:DeleteCell", "route53-recovery-readiness:GetCell" ]
    },
    "list" : {
      "permissions" : [ "route53-recovery-readiness:ListCells" ]
    }
  }
}