DATASOURCE::MNS::Queue is used to query the information about a created queue.
Syntax
{
"Type": "DATASOURCE::MNS::Queue",
"Properties": {
"QueueName": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
QueueName | String | Yes | Yes | The queue name. | None. |
Return values
Fn::GetAtt
ActiveMessages: the total number of active messages in the queue.
PollingWaitSeconds: the maximum period of time for which a ReceiveMessage request waits when no message exists in the queue.
MaximumMessageSize: the maximum size of the message body that is sent to the queue.
CreateTime: the creation time of the queue.
VisibilityTimeout: the duration for which a message remains in the Inactive state after the message is received from the queue.
QueueInternalUrl: the internal URL of the queue.
LastModifyTime: the most recent modification time of the queue.
QueueUrl: the URL of the queue.
LoggingEnabled: indicates whether the log management feature is enabled.
DelayMessages: the total number of delayed messages in the queue.
DelaySeconds: the delay period after which all messages sent to the queue are consumed.
MessageRetentionPeriod: the maximum period of time for which a message is retained in the queue.
InactiveMessages: the total number of inactive messages in the queue.
QueueName: the queue name.