{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-events-rule.json",
  "title": "AWSEventsRuleProperties",
  "description": "Resource Type definition for AWS::Events::Rule. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-events-rule.json",
    "sourceSha256": "f9e41910aad8a0ef0a022b177a48c2cbeef5d81173b5bdafb6ff29f19bf6194b"
  },
  "type": "object",
  "properties": {
    "EventBusName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "EventPattern": {
      "type": "object"
    },
    "ScheduleExpression": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Description": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "State": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Targets": {
      "type": "array",
      "uniqueItems": true,
      "items": {
        "$ref": "#/$defs/Target"
      }
    },
    "RoleArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    }
  },
  "typeName": "AWS::Events::Rule",
  "readOnlyProperties": [
    "/properties/Id",
    "/properties/Arn"
  ],
  "$defs": {
    "CapacityProviderStrategyItem": {
      "type": "object",
      "title": "AWSEventsRuleCapacityProviderStrategyItemDefinition",
      "properties": {
        "Base": {
          "type": "integer"
        },
        "Weight": {
          "type": "integer"
        },
        "CapacityProvider": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "CapacityProvider"
      ],
      "additionalProperties": false
    },
    "HttpParameters": {
      "type": "object",
      "title": "AWSEventsRuleHttpParametersDefinition",
      "properties": {
        "PathParameterValues": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "type": "string"
          }
        },
        "HeaderParameters": {
          "type": "object",
          "patternProperties": {
            "[a-zA-Z0-9]+": {
              "type": "string"
            }
          }
        },
        "QueryStringParameters": {
          "type": "object",
          "patternProperties": {
            "[a-zA-Z0-9]+": {
              "type": "string"
            }
          }
        }
      },
      "additionalProperties": false
    },
    "DeadLetterConfig": {
      "type": "object",
      "title": "AWSEventsRuleDeadLetterConfigDefinition",
      "properties": {
        "Arn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "RunCommandParameters": {
      "type": "object",
      "title": "AWSEventsRuleRunCommandParametersDefinition",
      "properties": {
        "RunCommandTargets": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "$ref": "#/$defs/RunCommandTarget"
          }
        }
      },
      "required": [
        "RunCommandTargets"
      ],
      "additionalProperties": false
    },
    "PlacementStrategy": {
      "type": "object",
      "title": "AWSEventsRulePlacementStrategyDefinition",
      "properties": {
        "Field": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Type": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "InputTransformer": {
      "type": "object",
      "title": "AWSEventsRuleInputTransformerDefinition",
      "properties": {
        "InputTemplate": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "InputPathsMap": {
          "type": "object",
          "patternProperties": {
            "[a-zA-Z0-9]+": {
              "type": "string"
            }
          }
        }
      },
      "required": [
        "InputTemplate"
      ],
      "additionalProperties": false
    },
    "KinesisParameters": {
      "type": "object",
      "title": "AWSEventsRuleKinesisParametersDefinition",
      "properties": {
        "PartitionKeyPath": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "PartitionKeyPath"
      ],
      "additionalProperties": false
    },
    "BatchRetryStrategy": {
      "type": "object",
      "title": "AWSEventsRuleBatchRetryStrategyDefinition",
      "properties": {
        "Attempts": {
          "type": "integer"
        }
      },
      "additionalProperties": false
    },
    "RedshiftDataParameters": {
      "type": "object",
      "title": "AWSEventsRuleRedshiftDataParametersDefinition",
      "properties": {
        "StatementName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Database": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "SecretManagerArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DbUser": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Sql": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "WithEvent": {
          "type": "boolean"
        }
      },
      "required": [
        "Database",
        "Sql"
      ],
      "additionalProperties": false
    },
    "Target": {
      "type": "object",
      "title": "AWSEventsRuleTargetDefinition",
      "properties": {
        "InputPath": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "HttpParameters": {
          "$ref": "#/$defs/HttpParameters"
        },
        "DeadLetterConfig": {
          "$ref": "#/$defs/DeadLetterConfig"
        },
        "RunCommandParameters": {
          "$ref": "#/$defs/RunCommandParameters"
        },
        "InputTransformer": {
          "$ref": "#/$defs/InputTransformer"
        },
        "KinesisParameters": {
          "$ref": "#/$defs/KinesisParameters"
        },
        "RoleArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "RedshiftDataParameters": {
          "$ref": "#/$defs/RedshiftDataParameters"
        },
        "Input": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "SqsParameters": {
          "$ref": "#/$defs/SqsParameters"
        },
        "EcsParameters": {
          "$ref": "#/$defs/EcsParameters"
        },
        "BatchParameters": {
          "$ref": "#/$defs/BatchParameters"
        },
        "Id": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Arn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "SageMakerPipelineParameters": {
          "$ref": "#/$defs/SageMakerPipelineParameters"
        },
        "RetryPolicy": {
          "$ref": "#/$defs/RetryPolicy"
        }
      },
      "required": [
        "Id",
        "Arn"
      ],
      "additionalProperties": false
    },
    "PlacementConstraint": {
      "type": "object",
      "title": "AWSEventsRulePlacementConstraintDefinition",
      "properties": {
        "Expression": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Type": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "AwsVpcConfiguration": {
      "type": "object",
      "title": "AWSEventsRuleAwsVpcConfigurationDefinition",
      "properties": {
        "SecurityGroups": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "type": "string"
          }
        },
        "Subnets": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "type": "string"
          }
        },
        "AssignPublicIp": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Subnets"
      ],
      "additionalProperties": false
    },
    "SqsParameters": {
      "type": "object",
      "title": "AWSEventsRuleSqsParametersDefinition",
      "properties": {
        "MessageGroupId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "MessageGroupId"
      ],
      "additionalProperties": false
    },
    "RunCommandTarget": {
      "type": "object",
      "title": "AWSEventsRuleRunCommandTargetDefinition",
      "properties": {
        "Values": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "type": "string"
          }
        },
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Values",
        "Key"
      ],
      "additionalProperties": false
    },
    "EcsParameters": {
      "type": "object",
      "title": "AWSEventsRuleEcsParametersDefinition",
      "properties": {
        "PlatformVersion": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Group": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "EnableECSManagedTags": {
          "type": "boolean"
        },
        "EnableExecuteCommand": {
          "type": "boolean"
        },
        "PlacementConstraints": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "$ref": "#/$defs/PlacementConstraint"
          }
        },
        "PropagateTags": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "TaskCount": {
          "type": "integer"
        },
        "PlacementStrategies": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "$ref": "#/$defs/PlacementStrategy"
          }
        },
        "CapacityProviderStrategy": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "$ref": "#/$defs/CapacityProviderStrategyItem"
          }
        },
        "LaunchType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ReferenceId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "TagList": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "$ref": "#/$defs/Tag"
          }
        },
        "NetworkConfiguration": {
          "$ref": "#/$defs/NetworkConfiguration"
        },
        "TaskDefinitionArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "TaskDefinitionArn"
      ],
      "additionalProperties": false
    },
    "BatchParameters": {
      "type": "object",
      "title": "AWSEventsRuleBatchParametersDefinition",
      "properties": {
        "JobName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "RetryStrategy": {
          "$ref": "#/$defs/BatchRetryStrategy"
        },
        "ArrayProperties": {
          "$ref": "#/$defs/BatchArrayProperties"
        },
        "JobDefinition": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "JobName",
        "JobDefinition"
      ],
      "additionalProperties": false
    },
    "NetworkConfiguration": {
      "type": "object",
      "title": "AWSEventsRuleNetworkConfigurationDefinition",
      "properties": {
        "AwsVpcConfiguration": {
          "$ref": "#/$defs/AwsVpcConfiguration"
        }
      },
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "title": "AWSEventsRuleTagDefinition",
      "properties": {
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "SageMakerPipelineParameters": {
      "type": "object",
      "title": "AWSEventsRuleSageMakerPipelineParametersDefinition",
      "properties": {
        "PipelineParameterList": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "$ref": "#/$defs/SageMakerPipelineParameter"
          }
        }
      },
      "additionalProperties": false
    },
    "RetryPolicy": {
      "type": "object",
      "title": "AWSEventsRuleRetryPolicyDefinition",
      "properties": {
        "MaximumEventAgeInSeconds": {
          "type": "integer"
        },
        "MaximumRetryAttempts": {
          "type": "integer"
        }
      },
      "additionalProperties": false
    },
    "BatchArrayProperties": {
      "type": "object",
      "title": "AWSEventsRuleBatchArrayPropertiesDefinition",
      "properties": {
        "Size": {
          "type": "integer"
        }
      },
      "additionalProperties": false
    },
    "SageMakerPipelineParameter": {
      "type": "object",
      "title": "AWSEventsRuleSageMakerPipelineParameterDefinition",
      "properties": {
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Name": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Value",
        "Name"
      ],
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/Name",
    "/properties/EventBusName"
  ]
}
