Difference between revisions of "Aws ec2 terminate-instances"

From wikieduonline
Jump to navigation Jump to search
(Created page with "https://docs.aws.amazon.com/cli/latest/reference/ec2/terminate-instances.html == See also == * {{EC2}} * {{AWS}} Category:AWS")
Tags: Mobile web edit, Mobile edit
 
Tags: Mobile web edit, Mobile edit
Line 2: Line 2:
  
  
 +
<pre>
 +
aws ec2 terminate-instances --profile YOUR_PROFILE --instance-ids i-05192273e61157f67
 +
{
 +
    "TerminatingInstances": [
 +
        {
 +
            "CurrentState": {
 +
                "Code": 32,
 +
                "Name": "shutting-down"
 +
            },
 +
            "InstanceId": "i-05192273e61157f67",
 +
            "PreviousState": {
 +
                "Code": 16,
 +
                "Name": "running"
 +
            }
 +
        }
 +
    ]
 +
}
 +
</pre>
  
 
== See also ==
 
== See also ==

Revision as of 07:53, 18 April 2021

https://docs.aws.amazon.com/cli/latest/reference/ec2/terminate-instances.html


aws ec2 terminate-instances --profile YOUR_PROFILE --instance-ids i-05192273e61157f67
{
    "TerminatingInstances": [
        {
            "CurrentState": {
                "Code": 32,
                "Name": "shutting-down"
            },
            "InstanceId": "i-05192273e61157f67",
            "PreviousState": {
                "Code": 16,
                "Name": "running"
            }
        }
    ]
}

See also

Advertising: