bland-house-72269
07/22/2024, 2:55 PMfuture-hairdresser-70637
07/22/2024, 3:28 PMaws ec2 stop-instances
bland-house-72269
07/22/2024, 6:19 PMbland-house-72269
07/22/2024, 6:19 PMbland-house-72269
07/22/2024, 6:21 PMfuture-hairdresser-70637
07/22/2024, 6:44 PMGetInstance
to get State
and then act upon it, but I dunno if I'd personally advocate for that approach. There's probably more intuitive ways of accomplishing what you want to do e.g. only run an instance during EastUS work hours 9a-5p via instance schedule (which you could declare via Pulumi). Again, depends on your goals.