aws ec2 describe-internet-gateways
Describes your internet gateways. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--filtersThe filters.--internet-gateway-idsThe IDs of the internet gateways.--max-resultsThe maximum number of items to return for this request.--next-tokenThe token returned from a previous paginated request.