Skip to content
Proud to collaborate with Microsoft for Startups

spad.ltip.configure_bucket ​

Configure S3 bucket using LTIP protocol

Configure S3 bucket using ltinteg-ltip-proto (DAG step).

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-spad
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
s3_bucket_namestringYes—Bucket to configure (set by create_bucket)
site_uuidstringNo—SpadSite.id used to look up the connection when bucket lookup is needed
organization_uuidstringNo—Organization that owns the site
s3_regionstringNo—Bucket region; inferred from connection config when omitted
distribution_refstringNo—CloudFront distribution ID for the bucket policy (AWS path)
cloud_connection_uuidstringNo—CloudConnection.uuid; falls back to the site's cloud connection
workflow_run_idstringNo—Injected by the parent DAG; propagated through state_data
workflow_run_uuidstringNo—Parent workflow run ID stamped by the DAG engine (legacy alias)

Output Schema ​

FieldTypeRequiredDefaultDescription
bucket_configuredbooleanYes—True once the bucket's website/CORS configuration is applied
completed_atstringNo—ISO8601 timestamp when the step reached COMPLETED
failed_atstringNo—ISO8601 timestamp when the step reached FAILED
failure_reasonstringNo—Reason recorded on the failure path
workflow_run_idstringNo—Injected by the parent DAG; propagated through state_data
s3_bucket_namestringNo—Bucket to configure (set by create_bucket)
site_uuidstringNo—SpadSite.id used to look up the connection when bucket lookup is needed
organization_uuidstringNo—Organization that owns the site
s3_regionstringNo—Bucket region; inferred from connection config when omitted
distribution_refstringNo—CloudFront distribution ID for the bucket policy (AWS path)
cloud_connection_uuidstringNo—CloudConnection.uuid; falls back to the site's cloud connection
workflow_run_uuidstringNo—Parent workflow run ID stamped by the DAG engine (legacy alias)
errorstringNo—Engine-stamped failure metadata
error_typestringNo—Engine-stamped failure metadata
failed_at_statejsonNo—Engine-stamped failure metadata
failed_layerjsonNo—Engine-stamped failure metadata
failed_stepjsonNo—Engine-stamped failure metadata

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—runStep accepted
runNoNo—completeConfiguring S3 bucket via LTIP
completedNoYesYes—Bucket configured successfully
failedNoYesNo—Bucket configuration failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrunStart bucket configuration
runcompletecompletedMark step completed
* (any state)failfailedMark step failed

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "spad.ltip.configure_bucket",
  "initial_data": {
    "s3_bucket_name": "value"
  }
}