Skip to content
Proud to collaborate with Microsoft for Startups

spad.ltip.alibaba.attach_cdn_certificate ​

Attach managed SSL certificate to Alibaba CDN domain

Attach a managed DV SSL certificate to an Alibaba CDN domain via SetDomainServerCertificate (CertType=cas). Skips gracefully when no CDN domain is present in state (CDN not yet provisioned or not configured).

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-spad
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuidstringYes—Alibaba CloudConnection.id (required when alibaba_cdn_domain is set)
alibaba_cdn_domainstringNo—CDN domain to attach the cert to; step skips gracefully when omitted
oss_regionstringNocn-hangzhouRegion used for the CDN client; defaults to cn-hangzhou
site_uuidstringNo—SpadSite.id used to cache the resulting cert ID
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
cert_attachedbooleanNo—True when managed DV cert was attached (attached path only)
alibaba_cdn_cert_refstringNo—Certificate identifier (RequestId) when attached
cert_skippedbooleanNo—True when the step skipped because no CDN domain was present
cert_skip_reasonstringNo—Human-readable reason for the skip (skip path only)
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
cloud_connection_uuidstringNo—Alibaba CloudConnection.id (required when alibaba_cdn_domain is set)
alibaba_cdn_domainstringNo—CDN domain to attach the cert to; step skips gracefully when omitted
oss_regionstringNo—Region used for the CDN client; defaults to cn-hangzhou
site_uuidstringNo—SpadSite.id used to cache the resulting cert ID
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—completeAttaching CDN certificate
completedNoYesYes—CDN certificate attached
failedNoYesNo—CDN certificate attachment failed

State Diagram ​

Transitions ​

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

API Usage ​

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

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