ALIYUN::AMQP::Instance is used to create an ApsaraMQ for RabbitMQ instance.
Syntax
{
"Type": "ALIYUN::AMQP::Instance",
"Properties": {
"MaxTps": Number,
"MaxEipTps": Number,
"SupportEip": String,
"Period": Number,
"StorageSize": Number,
"PayType": String,
"QueueCapacity": Number,
"TracingStorageTime": Number,
"InstanceName": String,
"OrderNum": Number,
"SupportTracing": String,
"InstanceType": String,
"PeriodUnit": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
MaxTps | Number | Yes | Yes | The maximum number of virtual private cloud (VPC)-based transactions per second (TPS) on the instance. | Valid values:
|
MaxEipTps | Number | No | Yes | The maximum number of Internet-based TPS on an instance. | Valid values: 128 to 45000. Note The maximum number of Internet-based TPS on an instance must be an integer multiple of 128. If the value that you specify for this property is not an integer multiple of 128, the value is rounded up to the nearest integer multiple of 128 when the system creates the instance. For example, if you set this property to 130, a value of 256 is used. |
SupportEip | String | No | Yes | Specifies whether the instance can be accessed over the Internet. | Valid values:
|
Period | Number | No | No | The subscription duration. | Valid values:
Unit: month. |
StorageSize | Number | Yes | Yes | The size of instance storage that is used to store messages. | Valid values:
Unit: GB. |
PayType | String | No | No | The billing method. | Set the value to Subscription. |
QueueCapacity | Number | Yes | Yes | The maximum number of queues that are allowed in the instance. | Valid values: 50 to 6000. Note The maximum number of queues that are allowed in an instance must be an integer multiple of 50. If the value that you specify for this property is not an integer multiple of 50, the value is rounded up to the nearest integer multiple of 50 when the system creates the instance. For example, if you set this property to 60, a value of 100 is used. |
TracingStorageTime | Number | No | Yes | The retention period for message traces. | Valid values:
Unit: day. |
InstanceName | String | No | Yes | The instance name. | None. |
OrderNum | Number | No | No | The number of instances that you want to create. | Valid values: 1 to 9999. |
SupportTracing | String | No | Yes | Specifies whether to enable the message trace feature. | Valid values:
|
InstanceType | String | Yes | No | The edition of the instance. | Valid values:
|
PeriodUnit | String | No | No | The auto-renewal cycle. | Valid values:
|
Return values
Fn::GetAtt
InstanceId: the instance ID.
PrivateEndpoint: the VPC endpoint.
ClassicEndpoint: the classic endpoint.