All Products
Search
Document Center

Resource Orchestration Service:Service Catalog resources

Last Updated:Jun 22, 2026

Lists the AssociationProperty values and AssociationPropertyMetadata for Service Catalog resources in ROS templates.

AssociationProperty values

Description

Corresponding AssociationPropertyMetadata

ALIYUN::ServiceCatalog::LaunchOption::PortfolioId

ID of the Service Catalog product portfolio.

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

  • ProductId: Product ID.

Examples:

  • Example code

    JSON example:

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "RegionId": {
          "Type": "String",
          "AssociationProperty": "ALIYUN::ECS::RegionId"
        },
        "PortfolioId": {
          "Type": "String",
          "AssociationProperty": "ALIYUN::ServiceCatalog::LaunchOption::PortfolioId",
          "AssociationPropertyMetadata": {
            "RegionId": "${RegionId}"
          }
        }
      }
    }

    YAML example:

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      RegionId:
        Type: String
        AssociationProperty: ALIYUN::ECS::RegionId
      PortfolioId:
        Type: String
        AssociationProperty: ALIYUN::ServiceCatalog::LaunchOption::PortfolioId
        AssociationPropertyMetadata:
          RegionId: ${RegionId}
  • Example description

    Sets PortfolioId to use ALIYUN::ServiceCatalog::LaunchOption::PortfolioId with RegionId as metadata, which retrieves the Service Catalog product portfolio ID in the current available region.

ALIYUN::ServiceCatalog::ProductVersion::ProductVersionId

Product version ID.

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

  • ProductId: Product ID.

  • Active: Whether the product version is active.

Examples:

  • Example code

    JSON example:

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "RegionId": {
          "Type": "String",
          "AssociationProperty": "ALIYUN::ECS::RegionId"
        },
        "ProductVersionId": {
          "Type": "String",
          "AssociationProperty": "ALIYUN::ServiceCatalog::ProductVersion::ProductVersionId",
          "AssociationPropertyMetadata": {
            "RegionId": "${RegionId}"
          }
        }
      }
    }

    YAML example:

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      RegionId:
        Type: String
        AssociationProperty: ALIYUN::ECS::RegionId
      ProductVersionId:
        Type: String
        AssociationProperty: ALIYUN::ServiceCatalog::ProductVersion::ProductVersionId
        AssociationPropertyMetadata:
          RegionId: ${RegionId}
  • Example description

    Sets ProductVersionId to use ALIYUN::ServiceCatalog::ProductVersion::ProductVersionId with RegionId as metadata, which retrieves the Service Catalog product version ID in the current available region.