全部产品
Search
文档中心

资源编排:ALIYUN::ACTIONTRAIL::HistoryDeliveryJob

更新时间:Mar 30, 2026

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"
        ]
      }
    }
  }
}