Skip to content
Proud to collaborate with Microsoft for Startups

spad.ltip.alibaba.create_cdn_domain ​

Create Alibaba CDN domain for OSS static site

Create Alibaba CDN domain accelerating the OSS bucket origin.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-spad
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
oss_endpointstringYes—OSS endpoint URL acting as the CDN origin (set by create_oss_bucket)
cloud_connection_uuidstringYes—Alibaba CloudConnection.id
slugstringNo—Site slug used for the default CDN subdomain
cdn_custom_domainstringNo—Custom CDN domain; falls back to {slug}.cdn.ltinteg.com
oss_bucket_namestringNo—OSS bucket name (cached on SpadSite)
oss_regionstringNo—OSS region (cached on resource record)
site_uuidstringNo—SpadSite.id for context propagation and caching
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
alibaba_cdn_domainstringYes—CDN accelerated domain (custom or {slug}.cdn.ltinteg.com)
alibaba_cdn_cnamestringYes—CDN CNAME target returned by Alibaba (.w.kunlunsl.com)
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_endpointstringNo—OSS endpoint URL acting as the CDN origin (set by create_oss_bucket)
cloud_connection_uuidstringNo—Alibaba CloudConnection.id
slugstringNo—Site slug used for the default CDN subdomain
cdn_custom_domainstringNo—Custom CDN domain; falls back to {slug}.cdn.ltinteg.com
oss_bucket_namestringNo—OSS bucket name (cached on SpadSite)
oss_regionstringNo—OSS region (cached on resource record)
site_uuidstringNo—SpadSite.id for context propagation and caching
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—completeCreating CDN domain
completedNoYesYes—CDN domain created
failedNoYesNo—CDN domain creation failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrunStart CDN domain creation
runcompletecompletedMark step completed
* (any state)failfailedMark step failed

API Usage ​

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

{
  "workflow_type": "spad.ltip.alibaba.create_cdn_domain",
  "initial_data": {
    "oss_endpoint": "value",
    "cloud_connection_uuid": "value"
  }
}