All Products
Search
Document Center

CDN:ListFCTrigger

Last Updated:Jul 07, 2026

Queries the Function Compute (FC) triggers configured for Alibaba Cloud CDN events.

Operation description

Note

Each account can call this operation up to 100 times per second.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The following table lists the authorization information for this operation. To grant permissions, define the corresponding Resource Access Management (RAM) policy and attach it to the RAM user or RAM role.

ActionAccess levelResource typeCondition keyDependent action
cdn:ListFCTriggerget*All Resource *NoneNone

Request parameters

ParameterTypeRequiredDescriptionExample
EventMetaNamestringYesThe name of the CDN event. Only one event name can be specified per request.LogFileCreated
EventMetaVersionstringYesThe version number of the CDN event. Only one version number can be specified per request.1.0.0

Response elements

ElementTypeDescriptionExample
RequestIdstringThe request ID.EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E
FCTriggersarray\<object\>The Function Compute triggers configured for CDN events.
TriggerARNstringThe ARN of the Function Compute trigger.acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger
RoleARNstringThe ARN of the RAM role.acs:ram:: 1234567890:role/aliyuncdneventnotificationrole
SourceArnstringThe resources and filters for event listening.acs:cdn:*:1234567890:domain/example.com
NotesstringThe remarks.Test
EventMetaNamestringThe name of the CDN event.LogFileCreated
EventMetaVersionstringThe version of the CDN event.1.0.0

SourceArn format

SourceArn follows the format acs:cdn:{RegionID}:{AccountID}:{Filter}.

{Filter} identifies the resource and filter conditions in the format {FilterName}/{FilterValue}. When FilterValue contains multiple values, they are enclosed in braces and separated by commas.

Examples:

  • Single domain: domain/example.com — triggers Function Compute only for example.com

  • Multiple domains: domain/{example.com,aliyundoc.com} — triggers Function Compute for both domains

When multiple filters are present, they are separated by forward slashes (/) and combined with AND logic. The full format is:

acs:cdn:{RegionID}:{AccountID}:{Filter1}/{Filter2}...

Examples

Success response

JSON format

{
  "RequestId": "EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E",
  "FCTriggers": [
    {
      "TriggerARN": "acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger",
      "RoleARN": "acs:ram:: 1234567890:role/aliyuncdneventnotificationrole",
      "SourceArn": "acs:cdn:*:1234567890:domain/example.com",
      "Notes": "Test",
      "EventMetaName": "LogFileCreated",
      "EventMetaVersion": "1.0.0"
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
400NotFound.EventMetaEventMeta not found.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.