Skip to content

References and Signals

Signals are static outputs exposed by blocks with lifecycles. Use signals in configuration expressions to create static dependencies between blocks.

Blocks with lifecycles manage stateful resources (infrastructure, persistent services) that exist beyond individual event executions. These blocks:

  • Create and manage external resources
  • Expose signals for referencing static properties
  • Have distinct lifecycle states
  • Require user confirmation for creation and modification
StateDescription
DRAFTBlock configured but resources not created
IN_PROGRESSResources being created or updated
READYResources live and signals available
FAILEDResource creation or update failed
DRAININGResources being deleted

Creation Flow:

DRAFT → [user confirms] → IN_PROGRESS → READY

Update Flow (Sync):

READY → [config change] → IN_PROGRESS → READY

Deletion Flow:

READY → [user deletes] → DRAINING → [removed]

Signals are static properties exposed by blocks with lifecycles in READY state. Common signal types:

AWS S3 Bucket:

  • arn - Bucket ARN
  • name - Bucket name
  • region - AWS region

SQS Queue:

  • url - Queue URL
  • arn - Queue ARN

API Gateway:

  • url - Endpoint URL
  • apiId - API identifier

javascript signals.<camelCasedBlockName>.<signalName>

Single parameter with format signals.<blockName>.<signalName>:

  • blockName: Block name converted to camelCase (e.g., “My S3 Bucket” → myS3Bucket)
  • signalName: Signal identifier exposed by the block

Basic Signal Reference:

// Block name: "Data Bucket"// Signal: "arn"*
signals.dataBucket.arn

Template String:

// Block name: "API Endpoint"
// Signal: "url"*
`${signals.apiEndpoint.url}/users`

Multiple Signals:

{
bucketArn: signals.dataBucket.arn,
region: signals.dataBucket.region
}
signalsoutputs
References static signalsAccesses event data
Infrastructure propertiesDynamic per-event data
Doesn’t require event flowRequires event connection

signals creates static configuration dependencies without requiring event flow connections:

References

The S3 Bucket block doesn’t need an event connection to the Create Object block. The ‘signals’ object establishes the configuration dependency.