Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::ACTIONTRAIL::HistoryDeliveryJob

Última atualização: Jun 27, 2026

Cria uma tarefa de entrega de histórico do ActionTrail.

Sintaxe

{
  "Type": "ALIYUN::ACTIONTRAIL::HistoryDeliveryJob",
  "Properties": {
    "TrailName": String
  }
}

Propriedades

Parâmetro

Tipo

Obrigatório

Atualização permitida

Descrição

Restrições

TrailName

String

Sim

Não

Nome da trilha.

Nenhuma

Valores de retorno

Fn::GetAtt

JobId: ID da tarefa de entrega de histórico.

Exemplos

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 history delivery 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 history delivery job.",
        "zh": "历史投递任务的ID。"
      },
      "Value": {
        "Fn::GetAtt": [
          "HistoryDeliveryJob",
          "JobId"
        ]
      }
    }
  }
}