aws ec2 describe-security-group-rules
Describes one or more of your security group rules. 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.--filtersOne or more filters.--max-resultsThe maximum number of items to return for this request.--next-tokenThe token returned from a previous paginated request.--security-group-rule-idsThe IDs of the security group rules.