pinned property

bool? pinned
final

Whether or not the Lambda function is pinned, or long-lived.

  • A pinned Lambda function starts when AWS IoT Greengrass starts and keeps running in its own container.
  • A non-pinned Lambda function starts only when it receives a work item and exists after it idles for maxIdleTimeInSeconds. If the function has multiple work items, the AWS IoT Greengrass Core software creates multiple instances of the function.
Default: true

Implementation

final bool? pinned;