{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-qldb-stream.json",
  "title": "AWSQLDBStreamProperties",
  "description": "Resource schema for AWS::QLDB::Stream.. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-qldb-stream.json",
    "sourceSha256": "4311f8ecd8092681a67469c4ccb4fe4c10ef54feb3c4e97d90af617761aaeac8"
  },
  "type": "object",
  "properties": {
    "LedgerName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "StreamName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "RoleArn": {
      "$ref": "#/$defs/Arn"
    },
    "InclusiveStartTime": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "ExclusiveEndTime": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "KinesisConfiguration": {
      "$ref": "#/$defs/KinesisConfiguration"
    },
    "Tags": {
      "type": "array",
      "maxItems": 50,
      "insertionOrder": false,
      "uniqueItems": true,
      "description": "An array of key-value pairs to apply to this resource.",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::QLDB::Stream",
  "readOnlyProperties": [
    "/properties/Id",
    "/properties/Arn"
  ],
  "$defs": {
    "Arn": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]*:[\\w+=,.@-]+(/[\\w+=,.@-]+)*"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQLDBStreamArnDefinition"
    },
    "KinesisConfiguration": {
      "type": "object",
      "properties": {
        "StreamArn": {
          "type": "object",
          "$ref": "#/$defs/Arn"
        },
        "AggregationEnabled": {
          "type": "boolean"
        }
      },
      "title": "AWSQLDBStreamKinesisConfigurationDefinition",
      "additionalProperties": false
    },
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 127
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. "
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 255
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. "
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSQLDBStreamTagDefinition",
      "additionalProperties": false
    }
  },
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/LedgerName",
    "/properties/Id"
  ],
  "required": [
    "LedgerName",
    "StreamName",
    "RoleArn",
    "KinesisConfiguration",
    "InclusiveStartTime"
  ],
  "createOnlyProperties": [
    "/properties/LedgerName",
    "/properties/StreamName",
    "/properties/RoleArn",
    "/properties/KinesisConfiguration",
    "/properties/InclusiveStartTime",
    "/properties/ExclusiveEndTime"
  ]
}
