{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/HttpUrlProperties",
  "/properties/VpcProperties"
 ],
 "definitions": {
  "HttpUrlDestinationSummary": {
   "additionalProperties": false,
   "properties": {
    "ConfirmationUrl": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "TopicRuleDestinationStatus": {
   "enum": [
    "ENABLED",
    "IN_PROGRESS",
    "DISABLED"
   ],
   "type": "string"
  },
  "VpcDestinationProperties": {
   "additionalProperties": false,
   "properties": {
    "RoleArn": {
     "format": "AWS::IAM::Role.Arn",
     "type": "string"
    },
    "SecurityGroups": {
     "format": "AWS::EC2::SecurityGroup.Ids",
     "items": {
      "format": "AWS::EC2::SecurityGroup.Id",
      "type": "string"
     },
     "type": "array",
     "uniqueItems": true
    },
    "SubnetIds": {
     "items": {
      "type": "string"
     },
     "type": "array",
     "uniqueItems": true
    },
    "VpcId": {
     "format": "AWS::EC2::VPC.Id",
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Arn"
 ],
 "properties": {
  "Arn": {
   "type": "string"
  },
  "HttpUrlProperties": {
   "$ref": "#/definitions/HttpUrlDestinationSummary"
  },
  "Status": {
   "$ref": "#/definitions/TopicRuleDestinationStatus"
  },
  "StatusReason": {
   "type": "string"
  },
  "VpcProperties": {
   "$ref": "#/definitions/VpcDestinationProperties"
  }
 },
 "readOnlyProperties": [
  "/properties/Arn",
  "/properties/StatusReason"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": false,
  "tagUpdatable": false,
  "taggable": false
 },
 "typeName": "AWS::IoT::TopicRuleDestination"
}
