- By using a JSON policy.
- By using message attributes.
- By using the message ID.
- By using the message timestamp.