{
  "typeName" : "AWS::ApplicationSignals::GroupingConfiguration",
  "description" : "Resource Type definition for AWS::ApplicationSignals::GroupingConfiguration",
  "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-applicationsignals",
  "definitions" : {
    "AccountId" : {
      "description" : "The identifier for the specified AWS account.",
      "type" : "string",
      "maxLength" : 12,
      "minLength" : 12,
      "pattern" : "^[0-9]{12}$"
    },
    "GroupingString" : {
      "type" : "string",
      "minLength" : 1,
      "maxLength" : 128
    },
    "GroupingAttributeDefinition" : {
      "type" : "object",
      "properties" : {
        "GroupingName" : {
          "$ref" : "#/definitions/GroupingString"
        },
        "GroupingSourceKeys" : {
          "type" : "array",
          "insertionOrder" : true,
          "minItems" : 1,
          "items" : {
            "$ref" : "#/definitions/GroupingString"
          }
        },
        "DefaultGroupingValue" : {
          "$ref" : "#/definitions/GroupingString"
        }
      },
      "required" : [ "GroupingName", "GroupingSourceKeys" ],
      "additionalProperties" : false
    },
    "GroupingAttributeDefinitions" : {
      "type" : "array",
      "insertionOrder" : false,
      "items" : {
        "$ref" : "#/definitions/GroupingAttributeDefinition"
      }
    },
    "Timestamp" : {
      "type" : "string"
    }
  },
  "properties" : {
    "GroupingAttributeDefinitions" : {
      "$ref" : "#/definitions/GroupingAttributeDefinitions"
    },
    "UpdatedAt" : {
      "$ref" : "#/definitions/Timestamp"
    },
    "AccountId" : {
      "$ref" : "#/definitions/AccountId"
    }
  },
  "additionalProperties" : false,
  "required" : [ "GroupingAttributeDefinitions" ],
  "readOnlyProperties" : [ "/properties/UpdatedAt", "/properties/AccountId" ],
  "primaryIdentifier" : [ "/properties/AccountId" ],
  "handlers" : {
    "create" : {
      "permissions" : [ "application-signals:PutGroupingConfiguration", "application-signals:ListGroupingAttributeDefinitions" ]
    },
    "read" : {
      "permissions" : [ "application-signals:ListGroupingAttributeDefinitions" ]
    },
    "update" : {
      "permissions" : [ "application-signals:PutGroupingConfiguration", "application-signals:ListGroupingAttributeDefinitions" ]
    },
    "delete" : {
      "permissions" : [ "application-signals:DeleteGroupingConfiguration", "application-signals:ListGroupingAttributeDefinitions" ]
    },
    "list" : {
      "permissions" : [ ]
    }
  },
  "tagging" : {
    "taggable" : false
  }
}