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: |
GroupId | Integer | Yes | No | Swimming lane group ID. | None |
LogicalRegionId | String | Yes | No | Region ID of the custom namespace. | Format: |
Name | String | Yes | Yes | Swimming lane name. | None |
Tag | String | Yes | Yes | Tag. | None |
AppInfos | List | No | Yes | Swimlanes contain application information. | Example: |
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"
]
}
}
}
}