Introducing a new way to review your PRs.

Read the announcement

floci-io / floci

Light, fluffy, and always free - The AWS Local Emulator alternative

View on GitHub

38 documents · Updated Nov 23, 2026

docs / svc-eventbridge-stepfunctions

EventBridge and Step Functions

Floci models event-driven work from an event or timer to a target and then, when needed, to a Step Functions workflow. EventBridge provides buses, rules, schedules, pipes, archives, replays, and target delivery. Step Functions runs state-machine workflows that transform JSON, call other services, fan out work, and expose execution results. For adjacent service flows, see Lambda and DynamoDB.

Event routing

EventBridge receives events on a default, custom, or partner bus, matches them against enabled rules, and sends matching events to their targets. A partner bus is identified by an EventSourceName, which also supplies the bus name and must use the partner-source form. A rule can also create an event without an incoming event by using a rate or cron schedule. Target input can use fixed data, an extracted path, or a transformed event instead of the original envelope. When more than one input form is present, fixed Input takes precedence over InputPath, which takes precedence over InputTransformer.

The same delivery model supports service targets such as Lambda, queues, topics, Batch, ECS, Firehose, Kinesis, another bus, API destinations, AppSync GraphQL APIs, Redshift Data, and Step Functions. A Step Functions target starts an asynchronous execution. An API destination uses a connection to add authorization and request values before it calls an external HTTP endpoint. An AppSync target runs one GraphQL mutation through a public API that uses AWS IAM authorization. A bus target forwards the event with its source account and region context, keeps the original envelope fields while shaping Detail, and bus-to-bus forwarding stops after one hop.

Event submission validates the required event fields and JSON detail before it matches rules. The service normalizes the event account and Region before pattern matching, envelope creation, and archive capture, so those stages use the same scope. A service-generated event includes a Resources array even when it is empty. An event sent to a missing bus through the public PutEvents action is accepted and dropped; an internal delivery to a missing bus fails instead.

Target roles and resource policies affect delivery when a target requires service authorization. EventBridge keeps the owner account from a bus ARN when it evaluates a bus resource policy, even if the bus does not exist yet. This preserves the cross-account decision for calls to another account's bus. Partner buses do not use the normal event-bus permission calls. Resource-tag conditions on bus and rule access use the exact stored resource identified by the ARN, including its account, Region, and partition.

An event submitted through PutEvents keeps its supplied event time in the delivered envelope, reduced to whole seconds. If the request does not supply a time, EventBridge assigns the current time. Bus and rule names remain distinct even when a partner bus name contains path separators, so a rule belongs only to the bus named by the request.

Archives capture matching events for later replay. A replay runs in an isolated background context with the replay's account and region, selects events in its time window, orders them by event time, and sends each event through normal bus matching and delivery. This lets replay delivery continue after the request that started it ends. Cancellation stops the replay after the current event. EventBridge target delivery can retry failures and send exhausted deliveries to a dead-letter queue.

Redshift Data targets carry database, secret, SQL, statement, and event settings in a target parameter object. Dynamic values can come from the event detail. The target uses the rule role and region context to submit the statement, so missing service access, role trust, or event paths can stop delivery.

AppSync targets are checked when targets are stored and again when an event is delivered. The configured GraphQL operation must contain one mutation. Delivery passes a JSON object as GraphQL variables and checks the target API, account, IAM mode, API visibility, and field permissions before execution.

This diagram shows how event, timer, archive, and pipe inputs converge on target delivery and can start a workflow.

flowchart LR
    Event[Event] --> Bus[Event bus]
    Timer[Rule or Scheduler timer] --> Target[Target delivery]
    Bus --> Rule[Matching rule]
    Rule --> Target
    Archive[Archive replay] --> Bus
    Source[Pipe source] --> Pipe[Filter and enrichment]
    Pipe --> PipeTarget[Pipe target]
    PipeTarget --> Services[Downstream services]
    Target --> Services
    Services --> Workflow[Step Functions execution]

References: src/…/EventBridgeHandler.java• L58-133 src/…/EventBridgeHandler.java• L256-325 src/…/EventBridgeHandler.java• L432-479 src/…/EventBridgeService.java• L189-241 src/…/EventBridgeService.java• L387-445 src/…/EventBridgeService.java• L605-718 src/…/EventBridgeService.java• L1055-1229 src/…/EventBridgeService.java• L1099-1227 src/…/EventBridgeInvoker.java• L243-439 src/…/EventBridgeInvoker.java• L679-806 src/…/Target.java• L10-105 src/…/AppSyncTargetInvoker.java• L57-119 src/…/AppSyncTargetValidator.java• L27-53 src/…/EventBridgeResourcePolicyProvider.java• L11-42 src/…/ReplayDispatcher.java• L37-125 src/…/TargetDispatcher.java• L30-255

Scheduled delivery

EventBridge rule schedules and EventBridge Scheduler both turn time into target delivery, but they are separate resource models. Rule schedules use rate(...) or six-field cron(...) expressions and deliver the standard scheduled-event envelope. The rule API validates the expression before it creates or changes a rule. Scheduler schedules support groups, one-time at(...) expressions, time zones, and one target.

When a rule schedule starts, the scheduler restores active schedules and routes each due event through the normal target path. Disabled rules and rules without targets remain present but do not invoke a target. A replaced or deleted rule cannot be acted on by an old timer callback.

References: src/…/EventBridgeService.java• L387-445 src/…/RuleScheduler.java• L75-215 src/…/ScheduleExpressionParser.java• L18-109 src/…/SchedulerController.java• L132-224 src/…/ScheduleInvoker.java• L96-160

Pipe delivery

EventBridge Pipes connect one stream or queue source to one target. The pipe can filter records and enrich the filtered batch before delivery. Its desired and current states control whether source polling runs, and running pipes resume after service startup.

Pipes support SQS, Kinesis, DynamoDB Streams, managed Kafka, and self-managed Kafka sources. Filters use EventBridge-style patterns with nested values, alternatives, arrays, prefixes, suffixes, case-insensitive values, numeric comparisons, existence checks, and exclusions. Kinesis data and Kafka keys or values are decoded when a filter or input template reads those source fields.

An enrichment receives the filtered records as a JSON array. A Lambda response becomes the target input. Empty or null responses skip the target while the source batch is treated as disposed. Event buses, queues, and topics receive one event per item in an array response. Lambda, Step Functions, and Redshift targets receive the response as one payload. Unsupported enrichment types fail the batch instead of silently sending the un-enriched source data.

Source progress advances only after filtering, delivery, or dead-letter handling disposes of the records. SQS deletes filtered-out messages immediately. DynamoDB Stream batches remain available when delivery and dead-letter handling both fail. Kafka advances an offset only after filtering or delivery succeeds, so a failed partition remains blocked until the failure is resolved. A failed target delivery can use a dead-letter queue.

Pipe input templates shape the target payload, while dynamic target parameters read the source event before that transformation. Pipes can send data to Lambda, queues, topics, another event bus, Step Functions, or Redshift Data. An EventBridge target publishes a PipeForwarded event with configurable source and detail type. A Step Functions target starts an execution with a generated name.

References: src/…/PipesFilterMatcher.java• L37-81 src/…/PipesFilterMatcher.java• L89-224 src/…/PipesPoller.java• L105-247 src/…/PipesPoller.java• L249-300 src/…/PipesPoller.java• L322-589 src/…/PipesPoller.java• L599-725 src/…/PipesTargetInvoker.java• L87-172 src/…/PipesTargetInvoker.java• L213-257

State-machine execution

Step Functions stores state-machine definitions and starts executions against a chosen definition, version, or alias. Standard executions run in the background. Express executions can run synchronously through StartSyncExecution. Each execution exposes status, input, output, error, cause, and history. Published versions preserve a definition, while aliases select a version through their routing configuration.

An execution starts at StartAt and passes JSON from one state to the next. The supported state types are Pass, Task, Choice, Wait, Succeed, Fail, Parallel, and Map. Retry runs before Catch. Execution and state time limits also bound waits, retry delays, task-token waits, and synchronous service jobs.

Task states connect the workflow to service APIs and external workers. Integrations include Lambda, DynamoDB, SQS, SNS, CloudFormation, EC2, S3, ECS, EMR, Redshift Data, RDS Data, EventBridge, Scheduler, nested Step Functions executions, API Gateway, HTTP endpoints, and activities. An activity is a named worker channel: a worker polls it for work and returns success or failure by task token. Request-response, synchronous, and task-token forms determine whether the state returns at once, waits for a service job, or waits for a worker callback.

Task calls use the state machine's execution role. When a task supplies Credentials, that role must be assumable before the task can use the named role. IAM checks can include identity policies, resource policies, permissions boundaries, service control policies, and role trust. Resource-scoped integrations derive permissions from the actual request and the resource it names. Distributed Map S3 readers and result writers use the execution role before they read or write. Nested Step Functions calls can run in the task role's account, but the target state machine must match that account when IAM enforcement applies.

The execution worker runs service integrations under the account and Region encoded by the state-machine ARN. Parallel branches and Map workers restore that same request scope on their own worker threads, so their service calls and execution records do not fall back to the emulator's default account.

AWS SDK management tasks reuse the public service handlers for selected ECS, Lambda, and Secrets Manager operations. The same path checks that the service is enabled, requires an object input, converts service errors into Step Functions task errors, and renders service-shaped response keys and timestamps. Redshift Data SDK tasks use the service handler and convert numeric response timestamps to the SDK's ISO-8601 form. Lambda event-source mapping tasks use the API's mapping identifier when deriving permission checks.

Task input and results are shaped before the next state runs. JSONPath states use input and output paths, parameters, result selectors, and result paths. A result path can keep the input, replace it, or merge the result into a matching object or array path.

JSONPath states can also assign workflow variables and read them from later state fields. An assignment becomes visible only after its state succeeds, so output processing and a failed retry do not observe a partial update. Map iterations and Parallel branches use separate variable scopes.

Choice states select the next state by comparing a value with a literal or another path. Comparisons are type strict. Missing paths, invalid patterns, unsupported fields, and malformed rules fail the execution instead of silently selecting Default; state-machine validation applies the same rule structure before execution.

Standard executions publish status events to the default EventBridge bus as they enter RUNNING, SUCCEEDED, FAILED, TIMED_OUT, or ABORTED. Express executions do not publish these events. The event carries the execution status and related metadata, but large input or output values can be omitted to stay within the EventBridge payload limit. A failed status-event publish does not change the execution result. Execution history records state transitions for the main flow, Parallel branches, and inline Map iterations.

This diagram shows how an execution applies state transitions, service calls, and JSON processing until it returns a terminal result.

flowchart TD
    Start[Start execution] --> State[Read current state]
    State --> Process[Apply JSON input and state rules]
    Process --> Call[Invoke task or run state logic]
    Call --> Retry{Retry matches?}
    Retry -->|yes| Call
    Retry -->|no| Catch{Catch matches?}
    Catch -->|yes| State
    Catch -->|no| Next{Next state?}
    Next -->|yes| State
    Next -->|no| End[Publish terminal result]

References: src/…/StepFunctionsService.java• L255-421 src/…/StepFunctionsService.java• L445-497 src/…/StepFunctionsService.java• L560-774 src/…/StepFunctionsService.java• L805-971 src/…/StepFunctionsService.java• L1231-1288 src/…/AslExecutor.java• L510-724 src/…/AslExecutor.java• L726-868 src/…/AslExecutor.java• L968-1114 src/…/AslExecutor.java• L1360-1629 src/…/ApiGatewayTaskInvoker.java• L76-166 src/…/EmrTaskInvoker.java• L64-177 src/…/EmrServerlessTaskInvoker.java• L84-177 src/…/SdkManagementTaskInvoker.java• L22-97 src/…/LambdaTaskAuthorizer.java• L89-165 src/…/LambdaTaskAuthorizer.java• L222-283 src/…/TaskPermissions.java• L107-224 src/…/TaskPermissions.java• L350-423 src/…/StepFunctionsService.java• L1482-1497 src/…/StepFunctionsEventPublisher.java• L17-125

JSONata processing

JSONata is an expression language for state input and output processing. A state machine or state can select JSONata instead of JSONPath. JSONata states use $states.input, $states.result, $states.context, and workflow variables to build task arguments, assignments, and output.

The evaluator supports the Step Functions function set and keeps JSON null distinct from an undefined result. It also bounds expression time, nesting, and produced data so a runaway expression fails as a States.QueryEvaluationError instead of holding an execution in RUNNING forever. A missing result, invalid expression, or evaluation limit follows normal Retry and Catch rules.

Assignments become visible to later states, not to the output of the same state. The state evaluates its assignment and output expressions against the values present when the state starts. JSONata paths preserve the language's singleton sequence behavior, so an expression must construct an array when an array result is required.

Definition validation keeps JSONPath fields and JSONata fields in their supported language modes. It checks transitions, terminal paths, Map fields, expressions, and top-level references before a state machine is created or updated. JSONata expressions must read workflow data through $states or a workflow variable; an unsupported top-level context reference is rejected during validation.

References: src/…/JsonataEvaluator.java• L176-258 src/…/JsonataEvaluator.java• L462-580 src/…/JsonataEvaluator.java• L590-620 src/…/JsonataEvaluator.java• L694-887 src/…/JsonataConstructedArrayPaths.java• L15-59 src/…/JsonataSymbolReader.java• L11-48 src/…/JsonataTopLevelReferences.java• L12-147 src/…/StepFunctionsService.java• L2371-2694

Map runs

A Map state applies a child workflow to each item in an array. Inline maps keep the work inside the parent execution and report iteration history there. Distributed maps create a separate Map run with child work, counters, status, concurrency, and failure-tolerance settings that can be inspected later.

Map iterations run with bounded concurrency and return successful results in input order. A failure stops the remaining work unless a Distributed Map's tolerated count or percentage absorbs it. ItemSelector shapes each item. ItemBatcher groups items for distributed child executions and keeps each child input within the Step Functions size limit. Each iteration receives an isolated copy of workflow variables, so assignments inside one iteration do not affect the parent or another iteration.

Distributed maps can read arrays or objects from S3 through an item reader. A result writer can return formatted results directly or write result files and a manifest to S3. The state machine execution role must allow the S3 reads and writes. The exported result can include successful and tolerated failed children. The Map run remains available to DescribeMapRun after result processing and after the parent execution ends.

References: src/…/AslExecutor.java• L1267-1290 src/…/AslExecutor.java• L3357-3607 src/…/AslExecutor.java• L3645-3681 src/…/AslExecutor.java• L3700-3849 src/…/AslExecutor.java• L3896-3979 src/…/MapIterationScheduler.java• L21-126 src/…/LambdaTaskAuthorizer.java• L115-126 src/…/StepFunctionsService.java• L1482-1497 src/…/StepFunctionsJsonHandler.java• L429-474

Mocked executions

Step Functions Local-style mocking replaces selected Task integrations for a named asynchronous execution. The execution selects a test case by adding #testCaseName to the state-machine ARN. Tasks without a configured response use their normal service integration.

The mock configuration maps state-machine names and test cases to responses for named states. A response can return JSON or raise an error, and response ranges can drive retry behavior. Mocked failures enter the same Retry and Catch flow as real task failures. A mocked task does not create or wait for a task token, and synchronous Express starts do not accept the mock test-case suffix.

References: src/…/StepFunctionsService.java• L805-1010 src/…/AslExecutor.java• L510-563 src/…/AslExecutor.java• L968-1159 src/…/SfnMockLoader.java• L23-180

Change checklist

When these files or sections are changed, remember to consider these:

  • If EventBridge target input changes, check bus forwarding, API destinations, AppSync variables, Redshift Data parameters, ECS overrides, Firehose records, pipe targets, and Step Functions targets for consistent payload shape.
  • If EventBridge event normalization changes, keep account and Region values aligned across pattern matching, event envelopes, archive capture, service-generated events, and cross-account bus delivery.
  • If EventBridge bus or rule resource lookup changes, keep exact ARN account, Region, partition, stored tags, IAM resource-tag conditions, and tag API behavior aligned.
  • If AppSync target rules change, keep PutTargets validation, mutation-only GraphQL documents, public AWS IAM API requirements, field authorization, account checks, and target role trust aligned.
  • If archive replay changes, preserve event-time ordering, event-window selection, destination-bus parsing, progress updates, cancellation after the current event, isolated request context, and replay cleanup.
  • If partner event-bus handling changes, keep EventSourceName validation, bus-name equality, rule ownership, rule ARN parsing, nested partner-bus isolation, and permission-call rejection aligned.
  • If PutEvents input handling changes, keep timestamp validation, second-level envelope time, pattern matching, archive capture, and target payloads aligned.
  • If schedule validation changes, keep rate and cron API checks aligned with rule creation, rule updates, timer startup, and compatibility for existing stored expressions.
  • If pipe filter matching changes, keep nested patterns, $or, arrays, encoded Kinesis data, encoded Kafka fields, and invalid-pattern behavior aligned.
  • If pipe enrichment changes, keep empty responses, array batching, target-specific payload shape, source disposal, and dead-letter behavior aligned.
  • If pipe progress changes, preserve SQS deletion, DynamoDB stream checkpoints, Kinesis iterators, Kafka partition blocking, and pipe recreation boundaries.
  • If pipe target parameters change, keep dynamic paths reading the source event rather than transformed input. Check EventBridge source and detail type values and Step Functions execution input together.
  • If SDK Task integration changes, keep supported action lists, public-handler request shapes, service-disabled errors, response key casing, timestamp rendering, Lambda mapping identifiers, and task error names aligned.
  • If Task IAM changes, preserve execution-role trust checks, task-role assumption, request-derived resource ARNs, cross-account resource-policy rules, permissions boundaries, service control policies, and integration-specific denied error names.
  • If resource-scoped Task permissions change, keep the resource ARN derived from the task input aligned with the integrated service's own resource lookup, especially for S3 object writes and Distributed Map reads or result files.
  • If nested execution credentials change, keep role ARN validation, account routing, target-account checks, StartExecution versus StartSyncExecution actions, and task history credentials aligned.
  • If API Gateway task handling changes, keep regional endpoint checks, same-account ownership, IAM signing, request-body rules, response mapping, and task error names aligned.
  • If EMR or EMR Serverless task handling changes, keep optimized action support, PascalCase request and response shapes, .sync wait states, service-region routing, resource permissions, and best-effort cancellation aligned.
  • If HTTP Task connection handling changes, keep connection lookup, authorization, header and query precedence, body merging, and the shared timeout budget aligned with EventBridge API destination behavior.
  • If Task execution changes, preserve token registration and cleanup, mocked-task bypasses, Retry-before-Catch order, nested account context, cleanup error handling, and execution versus task timeout behavior.
  • If state-machine versions or aliases change, keep qualified execution resolution, alias routing, version deletion checks, execution metadata, and list or describe results aligned.
  • If activity callbacks change, keep activity ownership, long polling, task-token scope, heartbeat handling, and closed-token behavior aligned.
  • If JSONPath workflow-variable or Choice behavior changes, keep reference-path parsing, assignment visibility, isolated branch scopes, type-strict comparison, runtime errors, and Create/Update validation aligned.
  • If JSONata fields change, keep language selection, top-level reference validation, $states values, assignment visibility, output evaluation, singleton reduction, evaluation bounds, and query-error handling aligned.
  • If Map behavior changes, preserve inline versus distributed mode rules, input order, concurrency ceilings, child input limits, S3 authorization, tolerance thresholds, S3 result files, manifests, counters, and DescribeMapRun data.
  • If execution status events change, preserve Standard-only emission, the aws.states event shape, the 248 KiB input/output rule, execution account and Region, and best-effort publication.

Important failure modes

TriggerConsequenceGuard
A replay destination ARN cannot be reduced to a bus nameReplay delivery fails or reaches the wrong busUse a valid EventBridge bus ARN or name and verify the destination bus exists
A replay is cancelled during deliveryEvents after the current event are not replayedTreat cancellation as asynchronous and inspect the final replay state
A replay loses the account or region context of its ownerTarget delivery can use the wrong scope or fail after the starting request endsRun replay work with the replay's account and region context
A Redshift target has missing parameters, a disabled service, or an unresolved dynamic pathTarget delivery fails before the statement runsProvide valid Redshift Data parameters and event paths, then check role trust
An AppSync target has no single mutation, or its API is private or lacks AWS IAM authorizationPutTargets or delivery fails before the mutation runsConfigure one mutation and a public AWS IAM AppSync API in the target account
A cross-account bus has no matching resource policy or the bus owner is inferred from the callerPutEvents or bus forwarding is deniedKeep the bus ARN account and resource policy in the IAM evaluation context
A partner bus has a missing or mismatched EventSourceNameBus creation or update is rejected, or the bus cannot be addressed as the intended partner busUse the same valid partner-source name for Name and EventSourceName
A partner bus is passed to a normal bus permission operationThe permission call is rejected instead of creating an effective policyUse partner-bus delivery rules without PutPermission or RemovePermission
A rule schedule has an invalid rate or cron expressionRule creation or update fails before the timer changesUse a positive supported rate and a valid six-field EventBridge cron expression
A pipe filter is invalid or reads encoded source data as plain textRecords are not admitted to the targetValidate the pattern and use the source-aware decoded field shape
A pipe target or enrichment fails and its DLQ also failsSource progress does not advance and records can be retriedUse a reachable DLQ and resolve the target failure
A Step Functions execution role does not exist or does not trust Step FunctionsThe task fails with States.PermissionsCreate the role and allow the Step Functions service principal to assume it
A task Credentials role cannot be assumed or its target state machine is in another accountThe task fails before the integrated callValidate the role trust and identity policies, then keep nested target and task accounts aligned
A request-derived resource does not match the actual integration callIAM can allow or deny the wrong resourceDerive permissions from the same transformed request and service lookup used for invocation
A Distributed Map role lacks S3 access for an item reader or result writerThe Map fails before the read or exportGrant s3:GetObject, s3:ListBucket, or s3:PutObject on the resolved resources
A JSONata state uses JSONPath-only fields, an invalid top-level reference, or an invalid expressionDefinition validation or state execution failsKeep fields in the selected query language, reference data through $states, and test expression results
A JSONata expression exceeds its time, depth, or data boundThe state fails with States.QueryEvaluationErrorKeep expressions bounded and reduce the size of generated values
A JSONPath state reads an undefined workflow variable or uses a malformed Choice ruleThe state fails with States.Runtime instead of taking the default branchDefine variables before use and keep each Choice rule to one valid comparison or logical operator
An HTTP Task names a missing connection, cannot merge its body, or spends its timeout on authorizationThe Task fails before or during the requestUse an existing EventBridge connection, provide an object request body for body parameters, and allow time for authorization and the request
An API Gateway Task names a private, cross-account, or non-regional endpointThe Task fails before the request reaches the APIUse a regional REST endpoint in the state machine's account and authorize execute-api:Invoke
An EMR or EMR Serverless .sync job reaches a failed terminal stateThe Task fails with the service integration errorHandle service failure states and set a task timeout that covers the job
A task waits for a token or synchronous job past its task or execution deadlineThe task or execution times out and cannot continue normallySet compatible timeouts and complete task tokens or child jobs within the budget
A ecs:runTask resource uses an unsupported suffixThe state fails before a task is launchedUse request-response, .sync, or .waitForTaskToken only
Cleanup after an aborted .sync task returns an error other than the service's not-found caseThe Task fails with the cleanup integration errorTreat only the documented gone-resource response as harmless and fix other service errors
A Distributed Map child input exceeds the size limitThe Map fails with States.DataLimitExceededReduce each item or batch with ItemSelector and batch limits
A Map exceeds its tolerated failure count or percentageThe Map run failsSet a failure budget that matches expected child failures
A mocked Task has no response for a reached attemptThe Task fails with States.RuntimeDefine responses for every reachable retry attempt
A Standard execution is started again with a closed name or different inputThe start fails with ExecutionAlreadyExistsUse a new name or keep the original input while it is running
An alias has no valid version route or a referenced version is deletedQualified execution start or alias update failsKeep alias routes pointed to versions of the same state machine and remove routes before deleting versions
An activity worker uses a foreign, closed, or expired task tokenThe callback fails with InvalidToken or cannot refresh the heartbeatKeep token calls in the owning account and complete work before token retention expires
A status event is emitted for an Express execution or has input and output above the event limitNo status event is sent, or large fields are omitted from the eventUse Standard executions for status events and inspect the included detail flags for large values

Key files

FileWhy to read it
src/…/EventBridgeService.javaEvent bus, rule, event submission, target, pattern, archive, replay, permission, tag, account, region, and resource lifecycle
src/…/EventBridgeHandler.javaEventBridge actions, partner-bus input, event timestamps, target settings, and request and response shapes
src/…/EventBridgeInvoker.javaTarget input selection and delivery to services, buses, Redshift Data, Step Functions, AppSync, and HTTP endpoints
src/…/Target.javaThe target contract for payload shaping, retry and dead-letter settings, and service-specific parameters
src/…/RuleScheduler.javaRule schedule startup, timer replacement, scheduled event creation, and target dispatch
src/…/ScheduleExpressionParser.javaEventBridge rate and cron validation and next-fire calculation
src/…/AppSyncTargetInvoker.javaAppSync target account, API mode, IAM field access, variable input, and mutation delivery
src/…/AppSyncTargetValidator.javaAppSync target operation validation before targets are stored
src/…/EventBridgeResourcePolicyProvider.javaEvent bus resource-policy lookup and cross-account owner context
src/…/ReplayDispatcher.javaArchive replay order, background execution, cancellation, and request context
src/…/TargetDispatcher.javaTarget retry, backoff, event age, and dead-letter delivery
src/…/PipesFilterMatcher.javaEventBridge-style pipe filter matching and source-field decoding
src/…/PipesPoller.javaPipe polling, filtering, enrichment, delivery, source progress, and dead-letter behavior
src/…/PipesTargetInvoker.javaPipe input templates and target delivery to EventBridge and Step Functions
src/…/ScheduleInvoker.javaScheduler target delivery and time-based invocation
src/…/StepFunctionsService.javaState machines, versions, aliases, executions, activities, Map runs, mocking, history, and validation
src/…/StateMachine.javaState-machine definition, execution role, type, revision, version, and alias-related state
src/…/Activity.javaActivity identity and worker-channel metadata
src/…/AslExecutor.javaState transitions, service integrations, account scope, task authorization, JSONPath variables, JSONata, HTTP connections, time limits, Parallel, Map, nested execution, and mocking
src/…/ApiGatewayTaskInvoker.javaRegional API Gateway task requests, IAM signing, request validation, and response mapping
src/…/EmrTaskInvoker.javaEMR optimized tasks, .sync polling, service result shaping, and cancellation
src/…/EmrServerlessTaskInvoker.javaEMR Serverless optimized tasks, model-shaped requests, .sync polling, and cancellation
src/…/TaskPermissions.javaRequest-derived IAM permissions for service tasks, nested calls, and Distributed Map S3 access
src/…/LambdaTaskAuthorizer.javaExecution-role trust, task-role assumption, identity and resource policy decisions, boundaries, and service control policies
src/…/SdkManagementTaskInvoker.javaAWS SDK management tasks delegated to public service handlers
src/…/ChoiceOperators.javaChoice comparison semantics, workflow-variable reference paths, and rule validation
src/…/JsonataEvaluator.javaJSONata expressions, variables, Step Functions functions, null handling, and evaluation limits
src/…/JsonataTopLevelReferences.javaJSONata definition checks for unsupported top-level context reads
src/…/JsonataConstructedArrayPaths.javaJSONata array-path behavior when a constructed sequence has one or no values
src/…/JsonataSymbolReader.javaShared parse-tree access used by JSONata validation and evaluation
src/…/StepFunctionsEventPublisher.javaStandard execution status events, payload size handling, and EventBridge delivery
src/…/SfnMockLoader.javaMock configuration loading and reload behavior