{
  "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-sqs.git",
  "tagging" : {
    "taggable" : false,
    "tagOnCreate" : false,
    "tagUpdatable" : false,
    "cloudFormationSystemTags" : false
  },
  "handlers" : {
    "create" : {
      "permissions" : [ "sqs:SetQueueAttributes" ]
    },
    "update" : {
      "permissions" : [ "sqs:SetQueueAttributes" ]
    },
    "delete" : {
      "permissions" : [ "sqs:SetQueueAttributes" ]
    }
  },
  "typeName" : "AWS::SQS::QueuePolicy",
  "readOnlyProperties" : [ "/properties/Id" ],
  "description" : "The ``AWS::SQS::QueuePolicy`` type applies a policy to SQS queues. For an example snippet, see [Declaring an policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-iam.html#scenario-sqs-policy) in the *User Guide*.",
  "additionalProperties" : false,
  "primaryIdentifier" : [ "/properties/Id" ],
  "properties" : {
    "PolicyDocument" : {
      "description" : "A policy document that contains the permissions for the specified SQS queues. For more information about SQS policies, see [Using custom policies with the access policy language](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-creating-custom-policies.html) in the *Developer Guide*.",
      "type" : [ "object", "string" ]
    },
    "Queues" : {
      "uniqueItems" : false,
      "description" : "The URLs of the queues to which you want to add the policy. You can use the ``Ref`` function to specify an ``AWS::SQS::Queue`` resource.",
      "insertionOrder" : false,
      "type" : "array",
      "items" : {
        "type" : "string"
      }
    },
    "Id" : {
      "description" : "",
      "type" : "string"
    }
  },
  "required" : [ "PolicyDocument", "Queues" ]
}