This card terminates a set of provisoned EC2 instances in the region.

Input

  • Filter

    • Dry Run (true/false) : Checks whether you have the required permissions for the action, without actually making the request. If you have the required permissions, the request returns DryRunOperation; otherwise, it returns UnauthorizedOperation.
  • Instances

    • Ids (list of text) : The ids of the provisoned EC2 instance you want to terminate.

Output

  • Response
    • Instances (list of object)
      • instance id (text) : Unique identification for the instance.
      • current state : The current state of the instance.
      • previous state : The previous state of the instance.