Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Name | Required | Not available | Enter the name on the script canvas. |
Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Connect To | Required | Not available | Select Global Resources.
|
|
Instance List | Required | Available | Specify the IDs of the instances to be terminated.
Each column can be operated with the following buttons.
|
|
Instance List / Instance ID (Name) | Required | Available | Specify ID of the instance to be terminated. |
|
Wait Until Instance Stops | Required | Available |
|
|
Item name | Description | Supplement |
---|---|---|
Retrieving Instance List | Retrieves the Instance ID associated with the entry in the [Connect To] and make it available in the [Instance List / Instance ID (Name)] so that the ID becomes available to be selected. | Instance IDs of any of the followings are not obtained.
|
Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Comment | Optional | Not available | You can write a short description of this adapter. The description will be reflected in the specifications. |
<?xml version="1.0"?> <instances> <instance currentInstanceState="" instanceId="" previousInstanceState="" /> </instances>
Element Name | Attribute Name | Description | Supplement |
---|---|---|---|
instances | |||
instance | Element occurs for every instance that has been stopped. | ||
currentInstanceState | Returns current instance status.
|
||
instanceId | Returns the instance ID. | ||
previousInstanceState | Returns previous state of the instance.
|
Component variable name | Description | Remarks |
---|---|---|
error_code | When AmazonServiceException is thrown, Amazon Web Services error code to which it corresponds is stored. |
|
status_code | When AmazonService Exception is thrown, HTTP status code is stored. |
|
message_category | Stroes the category to which corresponding message code belongs to, when an error occurs. |
|
message_code | Stores its corresponding message code of occured error. |
|
message_level | Stores the severity of the corresponding message code of the occured error. |
|
error_type | Stores the type of the occured error. |
|
error_message | Stores the error message for the occured error. |
|
error_trace | Stores stack trace of the occurred error. |
|
Exception name | Cause | REMEDY |
---|---|---|
ResourceNotFoundException Resource definition could not be found.Name: [] |
[Connect To] is not specified. | Please specify [Connect To]. |
ResourceNotFoundException Resource definition could not be found.Name: [<name of Global Resources>] |
Resource definition selected in [Connect To] is not found. | Please check the global resource specified in [Connect To]. |
InvalidPropertyConfigurationException <Property Name> is not specified. |
[<Property Name>] is not specified. | Please specify [<Property Name>]. |
AmazonEC2OperationTimeoutException
The status of the instance was not updated within the allotted millisecond in <Timeout> |
Instance has failed to terminate within the timeout period allotted by the [Connect To] [Timeout]. | Please confirm the specified timeout value in the [Timeout] within the [Connect To]. |
Status Code: 400, AWS Request ID: XXXXXXXXXXXXXXXX, AWS Error Code: IncorrectInstanceState, AWS Error Message: The instance '<Instance ID>' is not in a state from which it can be stopped. | The instance is not in a state from which it can be stopped. | Please check the status of the instance. |
Status Code: 400, AWS Request ID: XXXXXXXXXXXXXXXX, AWS Error Code: InvalidInstanceID.Malformed, AWS Error Message: Invalid id: "<Instance ID>" | Instance ID specified in [Instance List / Instance ID (Name)] is invalid. | Please check the Instance ID specified in [Instance List / Instance ID (Name)]. |
Status Code: 400, AWS Request ID: XXXXXXXXXXXXXXXX, AWS Error Code: InvalidInstanceID.NotFound, AWS Error Message: The instance ID '<Instance ID>' does not exist | The instance of the ID that is specified in the [Instance List / Instance ID (Name)] does not exists. | Please check the Instance ID specified in [Instance List / Instance ID (Name)]. |
com.amazonaws.AmazonClientException Unable to execute HTTP request: Connect to ec2.amazonaws.com/ec2.amazonaws.com/xxx.xxx.xxx.xxx timed out |
Failed to send request to Amazon EC2. Request has exceeded the allotted millisecond value in [Timeout]. | Try increasing the millisecond value in the [Timeout] or verify the network connectivity with Amazon EC2 service. |
com.amazonaws.AmazonClientException Unable to execute HTTP request: <Endpoint> |
[Endpoint] specified by [Connect To] is not available. | Make sure that all properties specified within the [Connect To] for the specified Global Resource are provided with correct information. |