Skip to content

Use Greengrass IPC to report state of docker component #456

Answered by jmklix
habjoel asked this question in Q&A
Discussion options

You must be logged in to vote

Answer:
You can do that with update_state function:
update_state(*, state=None)
Perform the UpdateState operation synchronously.

Parameters:
state (str | None) – ReportedLifecycleState enum value

Return type:
UpdateStateResponse

Also looking over this might help you understand how to best use greengrass inside a docker container. Please let me know if you have any other questions.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@github-actions
Comment options

Answer selected by github-actions
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants