ec2 reboot-instance
Reboot ec2 instance
Description
Reboot ec2 instance
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
region
- (string)
AWS region for the service
Example: --region "region-1"
Default: _None_
Attributes: optional
instance_id
- (string)
Instance ID
Example: "instance_id-1"
Default: _None_
Attributes: required
Examples
ec2 reboot-instance --region "region-1" "instance_id-1"
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "update" |
Service Type | "ec2" |
Service Instance | |
Namespace | |
Object Type | "instance" |
Object ID | instance_id |
Please see Access Control for details.