All Products
Search
Document Center

Simple Message Queue (formerly MNS):EventMatchRule

Last Updated:Sep 16, 2025

Parameter

Type

Description

Example

object

The rule for matching an event.

Note:

  • Full name match rule: If you specify this parameter, you cannot specify other parameters.

  • Prefix and suffix match rules: You can specify a prefix, a suffix, or both. If you specify both, the rule matches both the prefix and the suffix.

MatchState

boolean

Specifies whether to match.

true

Name

string

The full name to match.

testBucket/folder1/file1

Prefix

string

The prefix to match.

testBucket/prefix1xxx

Suffix

string

The suffix to match.

suffix/xxxx.test