ALIYUN::CDN::SubTask类型用于创建报表定制任务。
语法
{
"Type": "ALIYUN::CDN::SubTask",
"Properties": {
"ReportIds": List,
"DomainName": String
}
}
属性
|
属性名称 |
类型 |
必须 |
允许更新 |
描述 |
约束 |
|
ReportIds |
List |
是 |
是 |
报告ID列表。 |
长度限制:最小1,最大12。 取值:
|
|
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"
}
}
}
}
}
该文章对您有帮助吗?