ALIYUN::MSE::EngineNamespace is used to create a namespace for an engine.
Syntax
{
"Type": "ALIYUN::MSE::EngineNamespace",
"Properties": {
"InstanceId": String,
"Name": String,
"Desc": String,
"Id": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
InstanceId | String | Yes | No | The instance ID. | None. |
Name | String | Yes | Yes | The display name of the namespace. | None. |
Desc | String | No | Yes | The description of the namespace. | None. |
Id | String | No | No | The namespace ID. | If you leave this property empty, the system automatically generates a UUID for the namespace. |
Return values
Fn::GetAtt
NamespaceId: the namespace ID.
Examples
Note
You must change the masked values of properties, such as the InstanceId property, based on your business requirements.
YAML
format
ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
Namespace:
Type: ALIYUN::MSE::EngineNamespace
Properties:
InstanceId: mse-cn-st21ri2****
Name: dev
Outputs:
NamespaceId:
Description: The ID of the namespace.
Value:
Fn::GetAtt:
- Namespace
- NamespaceId
JSON
format
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
},
"Resources": {
"Namespace": {
"Type": "ALIYUN::MSE::EngineNamespace",
"Properties": {
"InstanceId": "mse-cn-st21ri2****",
"Name": "dev"
}
}
},
"Outputs": {
"NamespaceId": {
"Description": "The ID of the namespace.",
"Value": {
"Fn::GetAtt": [
"Namespace",
"NamespaceId"
]
}
}
}
}