as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

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