stopInstance (EC2)
Stops an EC2 instance running on a specified AWS Region.
Target Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
AWS Endpoint |
| No | The AWS endpoint to use. |
AWS Access Key |
| Yes | The Cloud Account Code of the AWS. |
AWS Secret Key |
| Yes | The path to the directory where AWS CLI is installed. Optional if set as classpath. |
AWS Region |
| No | The AWS region to operate on. To find the endpoint code for your region, see Amazon's Documentation. |
Number of Iterations |
| Yes | The number of Iterations to perform the EC2 Instance status check. Defaults to 6. |
Interval between status check |
| Yes | The duration of time to wait for each EC2 Instance status check iteration. Defaults to 30secs. |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Instance IDs |
| Yes | The ID of the instance to stop. |
Force Stop |
| No | Force stop the selected instance. |
Outputs
Output Name | Description |
---|---|
| Captures the EC2 Instance Status Code. |
| Captures the EC2 Instance Response Payload |
| Captures the EC2 Instance Error Message. |
Artifacts
This operation does not produce or consume artifacts.Â
Endpoint Selection
This operation will select all available endpoints associated to the target.Â
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
- style