Skip to content
Proud to collaborate with Microsoft for Startups

spad.ltip.alibaba.configure_oss_bucket ​

Configure Alibaba OSS bucket for static website serving

Configure Alibaba OSS bucket for static website serving (website config + CORS).

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-spad
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
oss_bucket_namestringYes—OSS bucket to configure (set by create_oss_bucket)
cloud_connection_uuidstringYes—Alibaba CloudConnection.id for the bucket owner
oss_regionstringNooss-cn-hangzhouOSS region (e.g. oss-cn-hangzhou)
site_uuidstringNo—SpadSite.id for context propagation
organization_uuidstringNo—Organization that owns the site
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
oss_website_configuredbooleanYes—True once the bucket static-website/CORS config 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
oss_bucket_namestringNo—OSS bucket to configure (set by create_oss_bucket)
cloud_connection_uuidstringNo—Alibaba CloudConnection.id for the bucket owner
oss_regionstringNo—OSS region (e.g. oss-cn-hangzhou)
site_uuidstringNo—SpadSite.id for context propagation
organization_uuidstringNo—Organization that owns the site
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 OSS bucket
completedNoYesYes—OSS bucket configured
failedNoYesNo—OSS bucket configuration failed

State Diagram ​

Transitions ​

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

API Usage ​

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

{
  "workflow_type": "spad.ltip.alibaba.configure_oss_bucket",
  "initial_data": {
    "oss_bucket_name": "value",
    "cloud_connection_uuid": "value"
  }
}