BAEL-1572: use yourInstanceId variable
This commit is contained in:
parent
806cb74ae9
commit
48e5d41bc1
|
@ -123,7 +123,7 @@ public class EC2Application {
|
||||||
|
|
||||||
// 9) - Start an Instance
|
// 9) - Start an Instance
|
||||||
StartInstancesRequest startInstancesRequest = new StartInstancesRequest()
|
StartInstancesRequest startInstancesRequest = new StartInstancesRequest()
|
||||||
.withInstanceIds("instance-id");
|
.withInstanceIds("yourInstanceId");
|
||||||
|
|
||||||
ec2Client.startInstances(startInstancesRequest);
|
ec2Client.startInstances(startInstancesRequest);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue