All Products
Search
Document Center

Resource Orchestration Service:FC resources

Last Updated:Jun 22, 2026

Lists AssociationProperty values and metadata for Function Compute (FC) resources in ROS templates.

AssociationProperty value

Description

Corresponding AssociationPropertyMetadata

ALIYUN::FC::Function::FunctionName

Queries legacy Function Compute functions.

  • RegionId: The region ID. Defaults to the region of the stack.

  • Prefix: The prefix of the function name.

  • ServiceName: The name of the function's service.

  • Qualifier: The version or alias of the function's service.

  • StartKey: The starting position. Results are returned in alphabetical order from this value.

Example code

JSON example:

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "RegionId": {
      "Type": "String",
      "AssociationProperty": "ALIYUN::ECS::RegionId"
    },
    "FCFunctionName": {
      "Type": "String",
      "AssociationProperty": "ALIYUN::FC::Function::FunctionName",
      "AssociationPropertyMetadata": {
        "RegionId": "${RegionId}"
      }
    }
  }
}

YAML example:

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  RegionId:
    Type: String
    AssociationProperty: ALIYUN::ECS::RegionId
  FCFunctionName:
    Type: String
    AssociationProperty: ALIYUN::FC::Function::FunctionName
    AssociationPropertyMetadata:
      RegionId: ${RegionId}

ALIYUN::FC::Service::ServiceName

Queries legacy Function Compute services.

  • RegionId: The region ID. Defaults to the region of the stack.

  • Prefix: The string that precedes the function name.

  • StartKey: The starting position. Results are returned in alphabetical order from this value.

Example code

JSON example:

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "RegionId": {
      "Type": "String",
      "AssociationProperty": "ALIYUN::ECS::RegionId"
    },
    "FCServiceName": {
      "Type": "String",
      "AssociationProperty": "ALIYUN::FC::Service::ServiceName",
      "AssociationPropertyMetadata": {
        "RegionId": "${RegionId}"
      }
    }
  }
}

YAML example:

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  RegionId:
    Type: String
    AssociationProperty: ALIYUN::ECS::RegionId
  FCServiceName:
    Type: String
    AssociationProperty: ALIYUN::FC::Service::ServiceName
    AssociationPropertyMetadata:
      RegionId: ${RegionId}