Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Name | Required | Not available | Enter the name to show on the script canvas. |
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Destination | Required | Not available | Select a global resource.
|
|
Instance list | Required | Available | Specify instance IDs of instances to be stopped.
Each instance can be operated with the following buttons.
|
|
Instance list/Instance ID (Name) | Required | Available | Specify an instance ID of instance to be stopped. |
|
Wait for stop completion | Required | Available |
|
|
Item name | Description | Remarks |
---|---|---|
Get instance list | Get instance IDs created in [Destination] so that you can select it in [Instance list/Instance ID (Name)]. | ![]()
|
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 | Remarks |
---|---|---|---|
instances | |||
instance | Appears for each stopped instance. | ||
currentInstanceState | Outputs the current instance state.
|
||
instanceId | Outputs the instance ID. | ||
previousInstanceState | Outputs the previous instance state.
|
Component variable name | Description | Remarks |
---|---|---|
error_code | When an error (AmazonServiceException) occurs, the corresponding error code of Amazon Web Services is stored. |
|
status_code | When an error (AmazonServiceException) occurs, the HTTP status code is stored. |
|
message_category | When an error occurs, category of the corresponding message code is stored. |
|
message_code | When an error occurs, code of the corresponding message code is stored. |
|
message_level | When an error occurs, severity of the corresponding message code is stored. |
|
error_type | When an error occurs, the error type is stored. |
|
error_message | When an error occurs, the error message is stored. |
|
error_trace | When an error occurs, trace information of the error is stored. |
|
Exception name | Cause | Solution |
---|---|---|
ResourceNotFoundException Resource definition is not found. Name: [] |
[Destination] is not specified. | Specify [Destination]. |
ResourceNotFoundException Resource definition is not found. Name: [<global resource name>] |
The resource definition selected in [Destination] is not found. | Check the global resource specified in [Destination]. |
InvalidPropertyConfigurationException <property name> is not specified. |
[<property name>] is not specified. | Specify [<property name>]. |
AmazonEC2OperationTimeoutException
Instance status has not been changed within <timeout> milliseconds. |
After sending a stop request, the stopping instance is not completed within [Timeout] of the global resource specified in [Destination]. | Check [Timeout] of the global resource specified in [Destination]. |
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 specified instance is not in a state from which it can be stopped. | Check the state of the specified instance. |
Status Code: 400, AWS Request ID: XXXXXXXXXXXXXXXX, AWS Error Code: InvalidInstanceID.Malformed, AWS Error Message: Invalid id: “<instance ID>” | The instance ID specified in [Instance list/Instance ID (Name)] is invalid. | 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 with the instance ID specified in [Instance list/Instance ID (Name)] does not exist. | 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 |
Could not send a request to Amazon EC2, as the millisecond specified in [Timeout] has been elapsed. | Increase the millisecond of [Timeout], or check the connection status of the destination Amazon EC2. |
com.amazonaws.AmazonClientException Unable to execute HTTP request: <endpoint> |
There is something wrong with [Endpoint] of the global resource specified in [Destination]. | Check the settings of the global resource specified in [Destination]. |