ALIYUN::MSE::Gateway adds a gateway.
ALIYUN::MSE::Gateway can only create pay-as-you-go common instances. To create an instance that uses a different billing method or a serverless gateway, use ALIYUN::MSE::Gateway2. For more information, see ALIYUN::MSE::Gateway2.
Syntax
{
"Type": "ALIYUN::MSE::Gateway",
"Properties": {
"BackupVSwitchId": String,
"EnterpriseSecurityGroup": String,
"VpcId": String,
"VSwitchId": String,
"SlbSpec": String,
"Spec": String,
"InternetSlbSpec": String,
"Replica": Integer,
"Name": String
}
}
Properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
BackupVSwitchId |
String |
No |
No |
The ID of the secondary vSwitch. |
None. |
|
EnterpriseSecurityGroup |
String |
No |
No |
Whether the gateway belongs to an advanced security group. |
Valid values:
|
|
VpcId |
String |
Yes |
No |
The ID of the virtual private cloud (VPC). |
None. |
|
VSwitchId |
String |
Yes |
No |
The ID of the primary vSwitch. |
None. |
|
SlbSpec |
String |
No |
No |
The specification of the internal-facing Server Load Balancer (SLB) instance. |
None. |
|
Spec |
String |
Yes |
No |
The specifications of the gateway node. |
Valid values:
|
|
InternetSlbSpec |
String |
No |
No |
The specification of the Internet-facing SLB instance. |
None. |
|
Replica |
Integer |
Yes |
No |
The number of nodes. |
Valid values: 1 to 30. Note
Use at least two nodes to ensure high availability. |
|
Name |
String |
No |
No |
The name of the gateway. |
None. |
Return values
Fn::GetAtt
-
GatewayUniqueId: the unique ID of the gateway.
-
BackupVSwitchId: the ID of the secondary vSwitch.
-
VpcId: the ID of the VPC.
-
VSwitchId: the ID of the primary vSwitch.
-
PaymentType: the billing method of resources.
-
Spec: the specifications of the gateway node.
-
Replica: the number of nodes.