ALIYUN::EDAS::SwimmingLaneGroup

更新时间:
复制为 MD 格式

ALIYUN::EDAS::SwimmingLaneGroup类型用于新建泳道组。

语法

{
  "Type": "ALIYUN::EDAS::SwimmingLaneGroup",
  "Properties": {
    "AppIds": List,
    "EntryApp": String,
    "LogicalRegionId": String,
    "Name": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

AppIds

List

泳道组涉及所有应用 ID 列表。

EntryApp

String

入口应用。

格式为:EDAS:{应用 ID}。

LogicalRegionId

String

自定义命名空间的 RegionId。

格式为:物理 Region:自定义命名空间标识符,例如cn-hangzhou:test

Name

String

泳道组名称。

返回值

Fn::GetAtt

GroupId:泳道组 ID。

示例

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  EntryApp:
    Type: String
    Description:
      en: 'The entry application. Format: EDAS:{application ID}.'
    Required: true
  LogicalRegionId:
    Type: String
    Description:
      en: 'The RegionId of the custom namespace. Format: `physical Region:custom namespace identifier`.'
    Required: true
  AppIds:
    AssociationPropertyMetadata:
      Parameter:
        Type: String
        Description:
          en: The application ID.
        Required: true
    AssociationProperty: List[Parameter]
    Type: Json
    Description:
      en: The list of application IDs involved in the swimming lane group.
    Required: true
  Name:
    Type: String
    Description:
      en: |-
        The name of the swimming lane group.
        The value can be up to 64 characters in length.
    Required: true
Resources:
  SwimmingLaneGroup:
    Type: ALIYUN::EDAS::SwimmingLaneGroup
    Properties:
      EntryApp:
        Ref: EntryApp
      LogicalRegionId:
        Ref: LogicalRegionId
      AppIds:
        Ref: AppIds
      Name:
        Ref: Name
Outputs:
  GroupId:
    Description: The ID of the swimming lane group.
    Value:
      Fn::GetAtt:
        - SwimmingLaneGroup
        - GroupId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "EntryApp": {
      "Type": "String",
      "Description": {
        "en": "The entry application. Format: EDAS:{application ID}."
      },
      "Required": true
    },
    "LogicalRegionId": {
      "Type": "String",
      "Description": {
        "en": "The RegionId of the custom namespace. Format: `physical Region:custom namespace identifier`."
      },
      "Required": true
    },
    "AppIds": {
      "AssociationPropertyMetadata": {
        "Parameter": {
          "Type": "String",
          "Description": {
            "en": "The application ID."
          },
          "Required": true
        }
      },
      "AssociationProperty": "List[Parameter]",
      "Type": "Json",
      "Description": {
        "en": "The list of application IDs involved in the swimming lane group."
      },
      "Required": true
    },
    "Name": {
      "Type": "String",
      "Description": {
        "en": "The name of the swimming lane group.\nThe value can be up to 64 characters in length."
      },
      "Required": true
    }
  },
  "Resources": {
    "SwimmingLaneGroup": {
      "Type": "ALIYUN::EDAS::SwimmingLaneGroup",
      "Properties": {
        "EntryApp": {
          "Ref": "EntryApp"
        },
        "LogicalRegionId": {
          "Ref": "LogicalRegionId"
        },
        "AppIds": {
          "Ref": "AppIds"
        },
        "Name": {
          "Ref": "Name"
        }
      }
    }
  },
  "Outputs": {
    "GroupId": {
      "Description": "The ID of the swimming lane group.",
      "Value": {
        "Fn::GetAtt": [
          "SwimmingLaneGroup",
          "GroupId"
        ]
      }
    }
  }
}