aws ec2 disable-serial-console-access
Disables access to the EC2 serial console of all instances for your account. AWS CLI reference
1 option 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.