{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-logs-destination.json",
  "title": "AWSLogsDestinationProperties",
  "description": "The AWS::Logs::Destination resource specifies a CloudWatch Logs destination. A destination encapsulates a physical resource (such as an Amazon Kinesis data stream) and enables you to subscribe that resource to a stream of log events.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-logs-destination.json",
    "sourceSha256": "b4c7e3d75e7bb0f7e31f94dd74e05fa3fcd58a100d0b19cc179f2ba2de0e8bdd"
  },
  "type": "object",
  "properties": {
    "DestinationName": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^:*]{1,512}$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the destination resource"
    },
    "DestinationPolicy": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "An IAM policy document that governs which AWS accounts can create subscription filters against this destination."
    },
    "RoleArn": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource"
    },
    "TargetArn": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)"
    }
  },
  "typeName": "AWS::Logs::Destination",
  "additionalProperties": false,
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs.git",
  "tagging": {
    "taggable": false
  },
  "primaryIdentifier": [
    "/properties/DestinationName"
  ],
  "required": [
    "DestinationName",
    "TargetArn",
    "RoleArn"
  ],
  "readOnlyProperties": [
    "/properties/Arn"
  ],
  "createOnlyProperties": [
    "/properties/DestinationName"
  ]
}
