stopInstance (EC2)
Stops an EC2 instance running on a specified AWS Region.
Environment/Instance Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
AWS Endpoint | FDAWS_ENDPOINT | No | The AWS endpoint to use. |
AWS Cloud Account Code | FDAWS_ACCOUNT_CODE | Yes | The Cloud Account Code of the AWS. |
AWS CLI Path | FDAWS_CLI_PATH | No | The path to the directory where AWS CLI is installed. Optional if set as classpath. |
AWS Region | FDAWS_REGION | No | The AWS region to operate on. To find the endpoint code for your region, see Amazon's Documentation. |
Number of Iterations | FDAWS_EC2_STATUS_CHECK_COUNT | Yes | The number of Iterations to perform the EC2 Instance status check. Defaults to 6. |
Interval between status check | FDAWS_EC2_STATUS_INTERVAL_DURATION | Yes | The duration of time to wait for each EC2 Instance status check iteration. Defaults to 30secs. |
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Instance IDs | FDAWS_EC2_INP_INSTANCE_IDS | Yes | Provide either comma or space separated IDs of the EC2 instances to stop. |
Outputs
Output Name | Description |
---|---|
Captures the EC2 Instance Status Code. | |
FDAWS_OUT_EC2_INSTANCE_RESP | Captures the EC2 Instance Response Payload |
FDAWS_OUT_EC2_INSTANCE_ERR | 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 environment/instance.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
The following macros are not currently supported in the footer:
- style