All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::EDAS::SwimmingLane

Last Updated:Feb 12, 2026

The ALIYUN::EDAS::SwimmingLane resource type creates a swimming lane.

Syntax

{
  "Type": "ALIYUN::EDAS::SwimmingLane",
  "Properties": {
    "EntryRules": List,
    "GroupId": Integer,
    "LogicalRegionId": String,
    "Name": String,
    "Tag": String,
    "AppInfos": List,
    "EnableRules": Boolean
  }
}

Properties

Property Name

Type

Required

Updatable

Description

Constraints

EntryRules

List

Yes

Yes

Throttling conditions.

Example:

[{"priority":1,"path":"/traffic","condition":"AND","restItems":[{"type":"header","name":"testheader","value":"testvalue","cond":"==","operator":"rawvalue"}]}]

GroupId

Integer

Yes

No

Swimming lane group ID.

None

LogicalRegionId

String

Yes

No

Region ID of the custom namespace.

Format: physical Region:customNamespaceIdentifier, for example cn-hangzhou:test.

Name

String

Yes

Yes

Swimming lane name.

None

Tag

String

Yes

Yes

Tag.

None

AppInfos

List

No

Yes

Swimlanes contain application information.

Example:

[{"priority":1,"path":"/traffic","condition":"AND","restItems":[{"type":"header","name":"testheader","value":"testvalue","cond":"==","operator":"rawvalue"}]}]

EnableRules

Boolean

No

Yes

Enable throttling rules.

None

Return Values

Fn::GetAtt

LaneId: The ID of the swimming lane.

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  LogicalRegionId:
    Type: String
    Description:
      en: 'The RegionId of the logical region. Format: `physicalRegion:customNamespaceIdentifier`.'
    Required: true
  EntryRules:
    AssociationPropertyMetadata: {}
    AssociationProperty: List[Parameters]
    Type: Json
    Description:
      en: The entry rules of the swimming lane.
    Required: true
  Tag:
    Type: String
    Description:
      en: The tag of the swimming lane.
    Required: true
  Name:
    Type: String
    Description:
      en: The name of the swimming lane.
    Required: true
  GroupId:
    Type: Number
    Description:
      en: The group ID of the swimming lane.
    Required: true
Resources:
  SwimmingLane:
    Type: ALIYUN::EDAS::SwimmingLane
    Properties:
      LogicalRegionId:
        Ref: LogicalRegionId
      EntryRules:
        Ref: EntryRules
      Tag:
        Ref: Tag
      Name:
        Ref: Name
      GroupId:
        Ref: GroupId
Outputs:
  LaneId:
    Description: The ID of the swimming lane.
    Value:
      Fn::GetAtt:
        - SwimmingLane
        - LaneId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "LogicalRegionId": {
      "Type": "String",
      "Description": {
        "en": "The RegionId of the logical region. Format: `physicalRegion:customNamespaceIdentifier`."
      },
      "Required": true
    },
    "EntryRules": {
      "AssociationPropertyMetadata": {},
      "AssociationProperty": "List[Parameters]",
      "Type": "Json",
      "Description": {
        "en": "The entry rules of the swimming lane."
      },
      "Required": true
    },
    "Tag": {
      "Type": "String",
      "Description": {
        "en": "The tag of the swimming lane."
      },
      "Required": true
    },
    "Name": {
      "Type": "String",
      "Description": {
        "en": "The name of the swimming lane."
      },
      "Required": true
    },
    "GroupId": {
      "Type": "Number",
      "Description": {
        "en": "The group ID of the swimming lane."
      },
      "Required": true
    }
  },
  "Resources": {
    "SwimmingLane": {
      "Type": "ALIYUN::EDAS::SwimmingLane",
      "Properties": {
        "LogicalRegionId": {
          "Ref": "LogicalRegionId"
        },
        "EntryRules": {
          "Ref": "EntryRules"
        },
        "Tag": {
          "Ref": "Tag"
        },
        "Name": {
          "Ref": "Name"
        },
        "GroupId": {
          "Ref": "GroupId"
        }
      }
    }
  },
  "Outputs": {
    "LaneId": {
      "Description": "The ID of the swimming lane.",
      "Value": {
        "Fn::GetAtt": [
          "SwimmingLane",
          "LaneId"
        ]
      }
    }
  }
}