{
  "typeName" : "AWS::AmazonMQ::ConfigurationAssociation",
  "description" : "Resource Type definition for AWS::AmazonMQ::ConfigurationAssociation",
  "additionalProperties" : false,
  "properties" : {
    "Id" : {
      "type" : "string",
      "description" : "The ID of the ConfigurationAssociation Resource"
    },
    "Broker" : {
      "type" : "string",
      "description" : "ID of the Broker that the configuration should be applied to"
    },
    "Configuration" : {
      "$ref" : "#/definitions/ConfigurationId"
    }
  },
  "definitions" : {
    "ConfigurationId" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Revision" : {
          "type" : "integer",
          "description" : "Revision of the Configuration to apply to a Broker"
        },
        "Id" : {
          "type" : "string",
          "description" : "ID of the Configuration to apply to a Broker"
        }
      },
      "required" : [ "Revision", "Id" ]
    }
  },
  "tagging" : {
    "taggable" : false
  },
  "required" : [ "Configuration", "Broker" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "createOnlyProperties" : [ "/properties/Broker" ],
  "readOnlyProperties" : [ "/properties/Id" ],
  "handlers" : {
    "create" : {
      "permissions" : [ "mq:DescribeBroker", "mq:UpdateBroker", "mq:RebootBroker" ]
    },
    "update" : {
      "permissions" : [ "mq:UpdateBroker", "mq:RebootBroker" ]
    },
    "delete" : {
      "permissions" : [ "mq:UpdateBroker", "mq:RebootBroker" ]
    }
  }
}