All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::CDN::DeliverTask

Last Updated:Apr 09, 2026

The ALIYUN::CDN::DeliverTask resource type creates a report subscription task.

Syntax

{
  "Type": "ALIYUN::CDN::DeliverTask",
  "Properties": {
    "Deliver": Map,
    "Name": String,
    "Reports": List,
    "Schedule": Map,
    "DomainNames": List
  }
}

Properties

Parameter

Type

Required

Update allowed

Description

Constraints

Deliver

Map

Yes

Yes

The configuration for the delivery task.

None

Name

String

Yes

Yes

The name of the delivery task.

None

Reports

List

Yes

Yes

The reports for the delivery task.

None

Schedule

Map

Yes

Yes

The schedule for the delivery task.

None

DomainNames

List

No

Yes

The domain names for the delivery task.

Length: 1 to 500.

Return values

Fn::GetAtt

DeliverId: The ID of the delivery task.

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Deliver:
    Type: Json
    Description: The configuration for the delivery task.
    Required: true
  Schedule:
    Type: Json
    Description: The schedule for the delivery task.
    Required: true
  Reports:
    Type: Json
    Description: The reports for the delivery task.
    Required: true
  Name:
    Type: String
    Description: The name of the delivery task.
    Required: true
Resources:
  DeliverTask:
    Type: ALIYUN::CDN::DeliverTask
    Properties:
      Deliver:
        Ref: Deliver
      Schedule:
        Ref: Schedule
      Reports:
        Ref: Reports
      Name:
        Ref: Name
Outputs:
  DeliverId:
    Description: The ID of the delivery task.
    Value:
      Fn::GetAtt:
        - DeliverTask
        - DeliverId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Deliver": {
      "Type": "Json",
      "Description": "The configuration for the delivery task.",
      "Required": true
    },
    "Schedule": {
      "Type": "Json",
      "Description": "The schedule for the delivery task.",
      "Required": true
    },
    "Reports": {
      "Type": "Json",
      "Description": "The reports for the delivery task.",
      "Required": true
    },
    "Name": {
      "Type": "String",
      "Description": "The name of the delivery task.",
      "Required": true
    }
  },
  "Resources": {
    "DeliverTask": {
      "Type": "ALIYUN::CDN::DeliverTask",
      "Properties": {
        "Deliver": {
          "Ref": "Deliver"
        },
        "Schedule": {
          "Ref": "Schedule"
        },
        "Reports": {
          "Ref": "Reports"
        },
        "Name": {
          "Ref": "Name"
        }
      }
    }
  },
  "Outputs": {
    "DeliverId": {
      "Description": "The ID of the delivery task.",
      "Value": {
        "Fn::GetAtt": [
          "DeliverTask",
          "DeliverId"
        ]
      }
    }
  }
}