{
  "typeName" : "AWS::ServiceCatalog::LaunchNotificationConstraint",
  "description" : "Resource Type definition for AWS::ServiceCatalog::LaunchNotificationConstraint",
  "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-servicecatalog/tree/main/aws-servicecatalog-launchnotificationconstraint",
  "additionalProperties" : false,
  "properties" : {
    "Id" : {
      "type" : "string",
      "description" : "Unique identifier for the constraint"
    },
    "Description" : {
      "type" : "string"
    },
    "NotificationArns" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "type" : "string"
      }
    },
    "AcceptLanguage" : {
      "type" : "string"
    },
    "PortfolioId" : {
      "type" : "string"
    },
    "ProductId" : {
      "type" : "string"
    }
  },
  "required" : [ "NotificationArns", "PortfolioId", "ProductId" ],
  "createOnlyProperties" : [ "/properties/PortfolioId", "/properties/ProductId" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "readOnlyProperties" : [ "/properties/Id" ],
  "writeOnlyProperties" : [ "/properties/AcceptLanguage" ],
  "tagging" : {
    "taggable" : false
  },
  "handlers" : {
    "read" : {
      "permissions" : [ "servicecatalog:DescribeConstraint" ]
    },
    "create" : {
      "permissions" : [ "servicecatalog:CreateConstraint", "servicecatalog:DescribeConstraint", "sns:GetTopicAttributes" ]
    },
    "list" : {
      "handlerSchema" : {
        "properties" : {
          "PortfolioId" : {
            "$ref" : "resource-schema.json#/properties/PortfolioId"
          }
        },
        "required" : [ "PortfolioId" ]
      },
      "permissions" : [ "servicecatalog:ListConstraintsForPortfolio" ]
    },
    "update" : {
      "permissions" : [ "servicecatalog:UpdateConstraint", "servicecatalog:DescribeConstraint", "sns:GetTopicAttributes" ]
    },
    "delete" : {
      "permissions" : [ "servicecatalog:DeleteConstraint" ]
    }
  }
}