ALIYUN::CDN::SubTask

更新时间:
复制为 MD 格式

ALIYUN::CDN::SubTask类型用于创建报表定制任务。

语法

{
  "Type": "ALIYUN::CDN::SubTask",
  "Properties": {
    "ReportIds": List,
    "DomainName": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

ReportIds

List

报告ID列表。

长度限制:最小1,最大12。

取值:

  • 1:热门 URL(按请求数排序)。

  • 3:热门 URL(按流量排序)。

  • 5:热门 Referer(按请求数排序)。

  • 7:热门 Referer(按流量排序)。

  • 9:回源热门 URL(按请求数排序)。

  • 11:回源热门 URL(按流量排序)。

  • 13:Top 客户端 IP(按请求数排序)。

  • 15:Top 客户端 IP(按流量排序)。

  • 17:域名排行(按流量排序)。

  • 19:PV 和 UV。

  • 21:访问区域分布。

  • 23:运营商分布。

DomainName

String

域名。

返回值

Fn::GetAtt

示例

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  DomainName:
    Type: String
    Description:
      en: The domain name.
      zh: 域名。
    Required: false
  ReportIds:
    AssociationPropertyMetadata:
      Parameter:
        Type: String
        Description:
          en: The report ID.
          zh: 报告ID。
        Required: false
    AssociationProperty: List[Parameter]
    Type: Json
    Description:
      en: |-
        The report IDs.
        The value can be up to 128 bytes in length.
      zh: |-
        报告ID列表。
        值长度最多为128字节。
    Required: true
    MinLength: 1
    MaxLength: 12
Resources:
  SubTask:
    Type: ALIYUN::CDN::SubTask
    Properties:
      DomainName:
        Ref: DomainName
      ReportIds:
        Ref: ReportIds
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "DomainName": {
      "Type": "String",
      "Description": {
        "en": "The domain name.",
        "zh": "域名。"
      },
      "Required": false
    },
    "ReportIds": {
      "AssociationPropertyMetadata": {
        "Parameter": {
          "Type": "String",
          "Description": {
            "en": "The report ID.",
            "zh": "报告ID。"
          },
          "Required": false
        }
      },
      "AssociationProperty": "List[Parameter]",
      "Type": "Json",
      "Description": {
        "en": "The report IDs.\nThe value can be up to 128 bytes in length.",
        "zh": "报告ID列表。\n值长度最多为128字节。"
      },
      "Required": true,
      "MinLength": 1,
      "MaxLength": 12
    }
  },
  "Resources": {
    "SubTask": {
      "Type": "ALIYUN::CDN::SubTask",
      "Properties": {
        "DomainName": {
          "Ref": "DomainName"
        },
        "ReportIds": {
          "Ref": "ReportIds"
        }
      }
    }
  }
}