CmdID / aws / aws lightsail
aws lightsail get-instance-port-states
Returns the firewall port states for a specific Amazon Lightsail instance, the IP addresses allowed to connect to the instance through the ports, and the protocol. AWS CLI reference
1 option Its page in the AWS CLI reference
Options
--instance-nameThe name of the instance for which to return firewall port states.