{
 "additionalIdentifiers": [
  [
   "/properties/Name"
  ]
 ],
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  },
  "TelemetryPipeline": {
   "additionalProperties": false,
   "properties": {
    "Arn": {
     "maxLength": 1011,
     "minLength": 1,
     "pattern": "^arn:aws([a-z0-9\\-]+)?:([a-zA-Z0-9\\-]+):([a-z0-9\\-]+)?:([0-9]{12})?:(.+)$",
     "type": "string"
    },
    "Configuration": {
     "$ref": "#/definitions/TelemetryPipelineConfiguration"
    },
    "CreatedTimeStamp": {
     "type": "number"
    },
    "LastUpdateTimeStamp": {
     "type": "number"
    },
    "Name": {
     "maxLength": 28,
     "minLength": 3,
     "pattern": "[a-z][a-z0-9\\-]+",
     "type": "string"
    },
    "Status": {
     "$ref": "#/definitions/TelemetryPipelineStatus"
    },
    "StatusReason": {
     "$ref": "#/definitions/TelemetryPipelineStatusReason"
    },
    "Tags": {
     "items": {
      "$ref": "#/definitions/Tag"
     },
     "type": "array",
     "uniqueItems": true
    }
   },
   "type": "object"
  },
  "TelemetryPipelineConfiguration": {
   "additionalProperties": false,
   "properties": {
    "Body": {
     "maxLength": 24000,
     "minLength": 1,
     "type": "string"
    }
   },
   "required": [
    "Body"
   ],
   "type": "object"
  },
  "TelemetryPipelineStatus": {
   "enum": [
    "CREATING",
    "ACTIVE",
    "UPDATING",
    "DELETING",
    "CREATE_FAILED",
    "UPDATE_FAILED"
   ],
   "type": "string"
  },
  "TelemetryPipelineStatusReason": {
   "additionalProperties": false,
   "properties": {
    "Description": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "Unit": {
   "additionalProperties": false,
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/PipelineIdentifier"
 ],
 "properties": {
  "Arn": {
   "maxLength": 1011,
   "minLength": 1,
   "pattern": "^arn:aws([a-z0-9\\-]+)?:([a-zA-Z0-9\\-]+):([a-z0-9\\-]+)?:([0-9]{12})?:(.+)$",
   "type": "string"
  },
  "Configuration": {
   "$ref": "#/definitions/TelemetryPipelineConfiguration"
  },
  "Name": {
   "maxLength": 28,
   "minLength": 3,
   "pattern": "[a-z][a-z0-9\\-]+",
   "type": "string"
  },
  "Pipeline": {
   "$ref": "#/definitions/TelemetryPipeline"
  },
  "PipelineIdentifier": {
   "maxLength": 512,
   "minLength": 1,
   "type": "string"
  },
  "Status": {
   "$ref": "#/definitions/TelemetryPipelineStatus"
  },
  "StatusReason": {
   "$ref": "#/definitions/TelemetryPipelineStatusReason"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": true
  }
 },
 "readOnlyProperties": [
  "/properties/Arn",
  "/properties/Pipeline",
  "/properties/PipelineIdentifier",
  "/properties/Status",
  "/properties/StatusReason"
 ],
 "required": [
  "Configuration"
 ],
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::ObservabilityAdmin::TelemetryPipelines"
}
