All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::BPStudio::Application

Last Updated:Aug 25, 2026

The ALIYUN::BPStudio::Application resource creates an application in BP Studio.

Syntax

{
  "Type": "ALIYUN::BPStudio::Application",
  "Properties": {
    "ImageUrl": String,
    "TopoUrl": String,
    "TemplateId": String,
    "ApplicationName": String,
    "ResourceGroupId": String
  }
}

Properties

Parameter

Type

Required

Updatable

Description

Constraints

ImageUrl

String

Yes

No

The URL of the architecture image.

None

TemplateId

String

Yes

No

The ID of the template.

None

TopoUrl

String

Yes

No

The Object Storage Service (OSS) URL for the topology file (Topo.json).

None

ApplicationName

String

No

No

The name of the application.

None

ResourceGroupId

String

No

No

The ID of the resource group.

None

Return values

Fn::GetAtt

  • ApplicationName: The name of the application.

  • ResourceGroupId: The ID of the resource group.

  • ImageUrl: The URL of the architecture image.

  • ApplicationId: The ID of the application.

  • TemplateId: The ID of the template.

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  ApplicationName:
    Description:
      en: The name of the application.
    Required: false
    Type: String
  ImageUrl:
    Description:
      en: The URL of the architecture image.
    Required: true
    Type: String
  ResourceGroupId:
    AssociationProperty: ALIYUN::ECS::ResourceGroup::ResourceGroupId
    Description:
      en: The ID of the resource group.
    Required: false
    Type: String
  TemplateId:
    Description:
      en: The ID of the template.
    Required: true
    Type: String
  TopoUrl:
    Description:
      en: The URL of the Topo.json file.
    Required: true
    Type: String
Resources:
  ExtensionResource:
    Properties:
      ApplicationName:
        Ref: ApplicationName
      ImageUrl:
        Ref: ImageUrl
      ResourceGroupId:
        Ref: ResourceGroupId
      TemplateId:
        Ref: TemplateId
      TopoUrl:
        Ref: TopoUrl
    Type: ALIYUN::BPStudio::Application
Outputs:
  ApplicationId:
    Description: The ID of the application.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ApplicationId
  ApplicationName:
    Description: The name of the application.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ApplicationName
  ImageUrl:
    Description: The URL of the architecture image.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ImageUrl
  ResourceGroupId:
    Description: The ID of the resource group.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ResourceGroupId
  TemplateId:
    Description: The ID of the template.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - TemplateId
                        
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "ApplicationName": {
      "Type": "String",
      "Description": {
        "en": "The name of the application."
      },
      "Required": false
    },
    "ResourceGroupId": {
      "Type": "String",
      "AssociationProperty": "ALIYUN::ECS::ResourceGroup::ResourceGroupId",
      "Description": {
        "en": "The ID of the resource group."
      },
      "Required": false
    },
    "TopoUrl": {
      "Type": "String",
      "Description": {
        "en": "The URL of the Topo.json file."
      },
      "Required": true
    },
    "ImageUrl": {
      "Type": "String",
      "Description": {
        "en": "The URL of the architecture image."
      },
      "Required": true
    },
    "TemplateId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the template."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::BPStudio::Application",
      "Properties": {
        "ApplicationName": {
          "Ref": "ApplicationName"
        },
        "ResourceGroupId": {
          "Ref": "ResourceGroupId"
        },
        "TopoUrl": {
          "Ref": "TopoUrl"
        },
        "ImageUrl": {
          "Ref": "ImageUrl"
        },
        "TemplateId": {
          "Ref": "TemplateId"
        }
      }
    }
  },
  "Outputs": {
    "ApplicationName": {
      "Description": "The name of the application.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ApplicationName"
        ]
      }
    },
    "ResourceGroupId": {
      "Description": "The ID of the resource group.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ResourceGroupId"
        ]
      }
    },
    "ImageUrl": {
      "Description": "The URL of the architecture image.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ImageUrl"
        ]
      }
    },
    "ApplicationId": {
      "Description": "The ID of the application.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ApplicationId"
        ]
      }
    },
    "TemplateId": {
      "Description": "The ID of the template.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "TemplateId"
        ]
      }
    }
  }
}