{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/FifoQueue",
  "/properties/QueueName"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/QueueUrl"
 ],
 "properties": {
  "Arn": {
   "format": "AWS::SQS::Queue.Arn",
   "type": "string"
  },
  "ContentBasedDeduplication": {
   "type": "boolean"
  },
  "DeduplicationScope": {
   "type": "string"
  },
  "DelaySeconds": {
   "maximum": 900,
   "minimum": 0,
   "type": "integer"
  },
  "FifoQueue": {
   "type": "boolean"
  },
  "FifoThroughputLimit": {
   "type": "string"
  },
  "KmsDataKeyReusePeriodSeconds": {
   "maximum": 86400,
   "minimum": 60,
   "type": "integer"
  },
  "KmsMasterKeyId": {
   "anyOf": [
    {
     "format": "AWS::KMS::Key.Arn"
    },
    {
     "format": "AWS::KMS::Key.Id"
    },
    {
     "format": "AWS::KMS::Alias.AliasName"
    }
   ],
   "type": "string"
  },
  "MaximumMessageSize": {
   "maximum": 1048576,
   "minimum": 1024,
   "type": "integer"
  },
  "MessageRetentionPeriod": {
   "maximum": 1209600,
   "minimum": 60,
   "type": "integer"
  },
  "QueueName": {
   "type": "string"
  },
  "QueueUrl": {
   "type": "string"
  },
  "ReceiveMessageWaitTimeSeconds": {
   "maximum": 20,
   "minimum": 0,
   "type": "integer"
  },
  "RedriveAllowPolicy": {
   "type": [
    "object",
    "string"
   ]
  },
  "RedrivePolicy": {
   "additionalProperties": false,
   "properties": {
    "deadLetterTargetArn": {
     "type": "string"
    },
    "maxReceiveCount": {
     "type": "integer"
    }
   },
   "type": [
    "object",
    "string"
   ]
  },
  "SqsManagedSseEnabled": {
   "type": "boolean"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": false
  },
  "VisibilityTimeout": {
   "maximum": 43200,
   "minimum": 0,
   "type": "integer"
  }
 },
 "readOnlyProperties": [
  "/properties/QueueUrl",
  "/properties/Arn"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-sqs.git",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::SQS::Queue"
}
