as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
アクセスいただきありがとうございます。こちらのページは現在英語のみのご用意となっております。順次日本語化を進めてまいりますので、ご理解のほどよろしくお願いいたします。

Manifest [tasks] Section

The [tasks] section declares a small routine that can run at specific events during the lifecycle of the application package. At this time the Vega system supports the install event for running such tasks. This task can be used to set up other tasks before the application’s first launch. The task section is optional.

[tasks]
# task configuration

[[tasks.work]]

This subsection describes the task details.

Fields

  • id (string, required): This must refer to a task component id defined in the manifest. By convention, this is represented as <package_id>.<task_name>. The identifier string must follow the rules for package_id:
    • Allowed characters: uppercase letters A-Z, lowercase letters a-z, digits 0-9, dot . and underscore _.
    • Use reverse DNS notation <package_id>.<task_name>.
      id = "com.mycompany.smart_app.install_task"
    
  • mode (string, required): The package lifecycle event type when the declared task runs. Currently, the only supported event is install. Any other values are ignored.

      mode = "install"
    

Last updated: Sep 30, 2025