All Products
Search
Document Center

Simple Message Queue (formerly MNS):EventMatchRule

Last Updated:Sep 21, 2026

Parameter

Type

Description

Example

object

The event matching rule atomic object.

Note:

  • Full name matching rule: If this field is specified, no other fields can be specified.

  • Prefix matching and suffix matching: You can specify either of these two fields. If both are specified, prefix and suffix matching is applied.

MatchState

boolean

Indicates whether the rule is matched.

true

Name

string

The full name matching rule.

testBucket/folder1/file1

Prefix

string

The prefix matching rule.

testBucket/prefix1xxx

Suffix

string

The suffix matching rule.

suffix/xxxx.test