Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::CDN::FcTrigger

Última atualização: Jun 27, 2026

Adiciona um gatilho do Function Compute ao Alibaba Cloud CDN.

Sintaxe

{
  "Type": "ALIYUN::CDN::FcTrigger",
  "Properties": {
    "EventMetaName": String,
    "EventMetaVersion": String,
    "Notes": String,
    "RoleARN": String,
    "SourceARN": String,
    "TriggerARN": String,
    "FunctionARN": String
  }
}

Propriedades

Parâmetro

Tipo

Obrigatório

Atualize permitida

Descrição

Restrição

EventMetaName

String

Sim

Não

Nome dos metadados do evento.

Nenhuma

EventMetaVersion

String

Sim

Não

Versão dos metadados do evento.

Nenhuma

Notes

String

Sim

Não

Observações sobre o gatilho.

Nenhuma

RoleARN

String

Sim

Não

ARN da função.

Nenhuma

SourceARN

String

Sim

Não

ARN de source.

Nenhuma

TriggerARN

String

Sim

Não

ARN do gatilho.

Nenhuma

FunctionARN

String

Não

Não

ARN da função.

Nenhuma

Valores de retorno

Fn::GetAtt

Nenhum atributo retornado.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  TriggerARN:
    Type: String
    Description: The trigger ARN.
    Required: true
  EventMetaName:
    Type: String
    Description: The event metadata name.
    Required: true
  SourceARN:
    Type: String
    Description: The source ARN.
    Required: true
  EventMetaVersion:
    Type: String
    Description: The event metadata version.
    Required: true
  RoleARN:
    Type: String
    Description: The role ARN.
    Required: true
  Notes:
    Type: String
    Description: Notes about the trigger.
    Required: true
Resources:
  FcTrigger:
    Type: ALIYUN::CDN::FcTrigger
    Properties:
      TriggerARN:
        Ref: TriggerARN
      EventMetaName:
        Ref: EventMetaName
      SourceARN:
        Ref: SourceARN
      EventMetaVersion:
        Ref: EventMetaVersion
      RoleARN:
        Ref: RoleARN
      Notes:
        Ref: Notes
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "TriggerARN": {
      "Type": "String",
      "Description": "The trigger ARN.",
      "Required": true
    },
    "EventMetaName": {
      "Type": "String",
      "Description": "The event metadata name.",
      "Required": true
    },
    "SourceARN": {
      "Type": "String",
      "Description": "The source ARN.",
      "Required": true
    },
    "EventMetaVersion": {
      "Type": "String",
      "Description": "The event metadata version.",
      "Required": true
    },
    "RoleARN": {
      "Type": "String",
      "Description": "The role ARN.",
      "Required": true
    },
    "Notes": {
      "Type": "String",
      "Description": "Notes about the trigger.",
      "Required": true
    }
  },
  "Resources": {
    "FcTrigger": {
      "Type": "ALIYUN::CDN::FcTrigger",
      "Properties": {
        "TriggerARN": {
          "Ref": "TriggerARN"
        },
        "EventMetaName": {
          "Ref": "EventMetaName"
        },
        "SourceARN": {
          "Ref": "SourceARN"
        },
        "EventMetaVersion": {
          "Ref": "EventMetaVersion"
        },
        "RoleARN": {
          "Ref": "RoleARN"
        },
        "Notes": {
          "Ref": "Notes"
        }
      }
    }
  }
}