{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-cloudfront-realtimelogconfig.json",
  "title": "AWSCloudFrontRealtimeLogConfigProperties",
  "description": "Resource Type definition for AWS::CloudFront::RealtimeLogConfig. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-cloudfront-realtimelogconfig.json",
    "sourceSha256": "985df3eb6729498495190be61f980ea71851be190cbbd1a59b90dad795293b8a"
  },
  "type": "object",
  "properties": {
    "EndPoints": {
      "items": {
        "$ref": "#/$defs/EndPoint"
      },
      "minItems": 1,
      "type": "array",
      "uniqueItems": false
    },
    "Fields": {
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "type": "array",
      "uniqueItems": false
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "SamplingRate": {
      "maximum": 100,
      "minimum": 1,
      "multipleOf": 1,
      "type": "number"
    }
  },
  "$defs": {
    "EndPoint": {
      "title": "AWSCloudFrontRealtimeLogConfigEndPointDefinition",
      "properties": {
        "KinesisStreamConfig": {
          "$ref": "#/$defs/KinesisStreamConfig"
        },
        "StreamType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "KinesisStreamConfig",
        "StreamType"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "KinesisStreamConfig": {
      "title": "AWSCloudFrontRealtimeLogConfigKinesisStreamConfigDefinition",
      "properties": {
        "RoleArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "StreamArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "RoleArn",
        "StreamArn"
      ],
      "type": "object",
      "additionalProperties": false
    }
  },
  "createOnlyProperties": [
    "/properties/Name"
  ],
  "additionalProperties": false,
  "typeName": "AWS::CloudFront::RealtimeLogConfig",
  "primaryIdentifier": [
    "/properties/Arn"
  ],
  "required": [
    "Name",
    "EndPoints",
    "Fields",
    "SamplingRate"
  ],
  "readOnlyProperties": [
    "/properties/Arn"
  ]
}
