{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/DomainIdentifier",
  "/properties/GroupIdentifier",
  "/properties/RolePrincipalArn"
 ],
 "definitions": {
  "GroupProfileStatus": {
   "enum": [
    "ASSIGNED",
    "NOT_ASSIGNED"
   ],
   "type": "string"
  },
  "GroupType": {
   "enum": [
    "DATAZONE_SSO_GROUP",
    "IAM_ROLE_SESSION_GROUP"
   ],
   "type": "string"
  }
 },
 "primaryIdentifier": [
  "/properties/DomainId",
  "/properties/Id"
 ],
 "properties": {
  "DomainId": {
   "pattern": "^dzd[-_][a-zA-Z0-9_-]{1,36}$",
   "type": "string"
  },
  "DomainIdentifier": {
   "pattern": "^dzd[-_][a-zA-Z0-9_-]{1,36}$",
   "type": "string"
  },
  "GroupIdentifier": {
   "pattern": "(^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$|[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\t\\n\\r  ]+)",
   "type": "string"
  },
  "GroupName": {
   "maxLength": 1024,
   "minLength": 1,
   "pattern": "^[a-zA-Z_0-9+=,.@-]+$",
   "type": "string"
  },
  "GroupType": {
   "$ref": "#/definitions/GroupType"
  },
  "Id": {
   "pattern": "^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$",
   "type": "string"
  },
  "RolePrincipalArn": {
   "type": "string"
  },
  "RolePrincipalId": {
   "type": "string"
  },
  "Status": {
   "$ref": "#/definitions/GroupProfileStatus"
  }
 },
 "readOnlyProperties": [
  "/properties/DomainId",
  "/properties/GroupName",
  "/properties/Id",
  "/properties/RolePrincipalId"
 ],
 "required": [
  "DomainIdentifier"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-datazone",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": false,
  "tagUpdatable": false,
  "taggable": false
 },
 "typeName": "AWS::DataZone::GroupProfile",
 "writeOnlyProperties": [
  "/properties/DomainIdentifier",
  "/properties/GroupIdentifier",
  "/properties/RolePrincipalArn",
  "/properties/GroupType"
 ]
}
