ALIYUN::ACTIONTRAIL::HistoryDeliveryJob类型用于创建数据回补投递任务。
语法
{
"Type": "ALIYUN::ACTIONTRAIL::HistoryDeliveryJob",
"Properties": {
"TrailName": String
}
}
属性
|
属性名称 |
类型 |
必须 |
允许更新 |
描述 |
约束 |
|
TrailName |
String |
是 |
否 |
跟踪名称。 |
无 |
返回值
Fn::GetAtt
JobId:历史投递任务的ID。
示例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
TrailName:
Type: String
Description:
en: The name of the trail.
zh: 跟踪的名称。
Required: true
Resources:
HistoryDeliveryJob:
Type: ALIYUN::ACTIONTRAIL::HistoryDeliveryJob
Properties:
TrailName:
Ref: TrailName
Outputs:
JobId:
Description:
en: The ID of the delivery history job.
zh: 历史投递任务的ID。
Value:
Fn::GetAtt:
- HistoryDeliveryJob
- JobId
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"TrailName": {
"Type": "String",
"Description": {
"en": "The name of the trail.",
"zh": "跟踪的名称。"
},
"Required": true
}
},
"Resources": {
"HistoryDeliveryJob": {
"Type": "ALIYUN::ACTIONTRAIL::HistoryDeliveryJob",
"Properties": {
"TrailName": {
"Ref": "TrailName"
}
}
}
},
"Outputs": {
"JobId": {
"Description": {
"en": "The ID of the delivery history job.",
"zh": "历史投递任务的ID。"
},
"Value": {
"Fn::GetAtt": [
"HistoryDeliveryJob",
"JobId"
]
}
}
}
}