Python Fn function that uses resource principals stop or start all Instances in the calling functions compartment.