as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

Manifest [[message]] Section

The [[message]] section defines the URIs that the application package introduces to the rest of the system.

[[message]]
# message details discussed below.

The section may be skipped when the message URI addresses a private lifecycle component in the application package. Skipping is only allowed for URIs using pkg:// scheme because they directly contain the lifecycle component's name. In other words, every lifecycle component can be launched by prefixing the component id with pkg://. It is equivalent to defining a [[message]] as follows. Every URI defined in a [[message]] must be included in one and only one module.

[[message]]
uri = "pkg://com.amazon.samplepkg.main"
sender-privileges = ["self"]
receiver-privileges = ["self"]

Fields

  • uri (string, required): URI that can be used with Vega Messaging APIs for communication.

      uri = "pkg://com.amazon.samplepkg.main"
      uri = "samplepkg://main"
    
  • sender-privileges (array of strings, required): If multiple privileges are specified then the sender or receiver must have all privileges in the list to assume the role. In addition to the specific privilege ids, use * or self if appropriate. * allows anyone to use (send / receive) the message. self allows only the application package the module is part of to use the message.

      sender-privileges = ["self"]
      sender-privileges = ["*"]
    

Last updated: Sep 30, 2025