DATASOURCE::EDAS::UserDefineRegions is used to query custom namespaces.
Syntax
{
"Type": "DATASOURCE::EDAS::UserDefineRegions",
"Properties": {
"RefreshOptions": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
RefreshOptions | String | No | Yes | The refresh policy for data source resources when the stack is updated. | Valid values:
|
Return values (Fn::GetAtt)
Property | Type | Description | Constraint |
Ids | List | The IDs of the namespaces. | None. |
UserDefineRegions | List | Details of the namespaces. | None. |
Id | Integer | The unique identifier. | None. |
RegionName | String | The namespace name. | None. |
UserId | String | The ID of the Alibaba Cloud account. | None. |
DebugEnable | Boolean | Indicates whether remote debugging is enabled. | Valid values:
|
RegionId | String | The namespace ID. | Note The ID cannot be changed after the namespace is created. The ID is in the |
BelongRegion | String | The region ID of the namespace. | None. |
Examples
ROSTemplateFormatVersion: '2015-09-01'
Resources:
UserDefineRegions:
Type: DATASOURCE::EDAS::UserDefineRegions
Properties: {}
Outputs:
UserDefineRegions:
Description: The list of user define regions.
Value:
Fn::GetAtt:
- UserDefineRegions
- UserDefineRegions
Ids:
Description: The list of user define region IDs.
Value:
Fn::GetAtt:
- UserDefineRegions
- Ids
{
"ROSTemplateFormatVersion": "2015-09-01",
"Resources": {
"UserDefineRegions": {
"Type": "DATASOURCE::EDAS::UserDefineRegions",
"Properties": {}
}
},
"Outputs": {
"UserDefineRegions": {
"Description": "The list of user define regions.",
"Value": {
"Fn::GetAtt": [
"UserDefineRegions",
"UserDefineRegions"
]
}
},
"Ids": {
"Description": "The list of user define region IDs.",
"Value": {
"Fn::GetAtt": [
"UserDefineRegions",
"Ids"
]
}
}
}
}