Skip to content

Commit 52dfeb7

Browse files
committed
Update functions, command ref
1 parent 01d8491 commit 52dfeb7

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

docs/command-reference.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -663,18 +663,26 @@ Stop EC2 Instance(s)
663663
i-5d74753e210bfe04d PreviousState=running CurrentState=stopping
664664

665665

666+
### instance-subnet
667+
668+
List subnet for EC2 Instance(s)
669+
670+
USAGE: instance-subnets instance-id [instance-id]
671+
672+
666673
### instance-stop-protection
667674

668-
List current state of stop Protection for EC2 Instance(s)
675+
List current state of Stop Protection for EC2 Instance(s)
669676

670677
USAGE: instance-stop-protection instance-id [instance-id]
671678

672-
$ instances | instance-stop-protection
679+
$ instances | instance-termination-protection
673680
i-4e15ece1de1a3f869 DisableApiStop=true
674681
i-89cefa9403373d7a5 DisableApiStop=false
675682
i-806d8f1592e2a2efd DisableApiStop=false
676683
i-61e86ac6be1e2c193 DisableApiStop=false
677684

685+
678686
### instance-stop-protection-disable
679687

680688
Disable EC2 Instance stop protection
@@ -688,18 +696,14 @@ Enable EC2 Instance stop protection
688696

689697
USAGE: instance-stop-protection-enable instance-id [instance-id]
690698

691-
### instance-subnet
692-
693-
List subnet for EC2 Instance(s)
694-
695-
USAGE: instance-subnets instance-id [instance-id]
696699

697700
### instance-tags
698701

699702
List tags applied EC2 Instance(s)
700703

701704
USAGE: instance-tags instance-id [instance-id]
702705

706+
703707
### instance-tag
704708

705709
List named tag on EC2 Instance(s)

functions

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ instance-stack
114114
instance-start
115115
instance-state
116116
instance-stop
117+
instance-stop-protection
118+
instance-stop-protection-disable
119+
instance-stop-protection-enable
117120
instance-subnet
118121
instance-tag
119122
instance-tag-create

0 commit comments

Comments
 (0)