{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/KmsKeyArn"
 ],
 "definitions": {
  "IamAuthConfiguration": {
   "additionalProperties": false,
   "properties": {
    "CreatedAt": {
     "format": "date-time",
     "type": "string"
    },
    "OperatorAppRoleArn": {
     "format": "AWS::IAM::Role.Arn",
     "type": "string"
    },
    "UpdatedAt": {
     "format": "date-time",
     "type": "string"
    }
   },
   "required": [
    "OperatorAppRoleArn"
   ],
   "type": "object"
  },
  "IdcAuthConfiguration": {
   "additionalProperties": false,
   "properties": {
    "CreatedAt": {
     "format": "date-time",
     "type": "string"
    },
    "IdcApplicationArn": {
     "type": "string"
    },
    "IdcInstanceArn": {
     "type": "string"
    },
    "OperatorAppRoleArn": {
     "format": "AWS::IAM::Role.Arn",
     "type": "string"
    },
    "UpdatedAt": {
     "format": "date-time",
     "type": "string"
    }
   },
   "required": [
    "OperatorAppRoleArn",
    "IdcInstanceArn"
   ],
   "type": "object"
  },
  "OperatorApp": {
   "additionalProperties": false,
   "properties": {
    "Iam": {
     "$ref": "#/definitions/IamAuthConfiguration"
    },
    "Idc": {
     "$ref": "#/definitions/IdcAuthConfiguration"
    }
   },
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/AgentSpaceId"
 ],
 "properties": {
  "AgentSpaceId": {
   "maxLength": 255,
   "minLength": 1,
   "type": "string"
  },
  "Arn": {
   "type": "string"
  },
  "CreatedAt": {
   "format": "date-time",
   "type": "string"
  },
  "Description": {
   "maxLength": 1000,
   "minLength": 1,
   "pattern": "^[\\p{L}\\p{N}\\p{P}\\p{S}\\p{Z}]+$",
   "type": "string"
  },
  "KmsKeyArn": {
   "format": "AWS::KMS::Key.Arn",
   "maxLength": 2048,
   "minLength": 1,
   "pattern": "^arn:aws[a-zA-Z-]*:kms:[a-z0-9-]+:[0-9]{12}:key/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$",
   "type": "string"
  },
  "Name": {
   "maxLength": 255,
   "minLength": 1,
   "pattern": "^[\\p{L}\\p{N}\\p{P}\\p{S}\\p{Z}]+$",
   "type": "string"
  },
  "OperatorApp": {
   "$ref": "#/definitions/OperatorApp"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": true
  },
  "UpdatedAt": {
   "format": "date-time",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/AgentSpaceId",
  "/properties/CreatedAt",
  "/properties/UpdatedAt",
  "/properties/Arn",
  "/properties/OperatorApp/Iam/CreatedAt",
  "/properties/OperatorApp/Iam/UpdatedAt",
  "/properties/OperatorApp/Idc/IdcApplicationArn",
  "/properties/OperatorApp/Idc/CreatedAt",
  "/properties/OperatorApp/Idc/UpdatedAt"
 ],
 "required": [
  "Name"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::DevOpsAgent::AgentSpace"
}
