aws ec2 enable-serial-console-access
Enables access to the EC2 serial console of all instances for your account. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To enable access to the serial console for your account
The following enable-serial-console-access example enables account access to the serial console.
aws ec2 enable-serial-console-accessIdentifyIts output
{
"SerialConsoleAccessEnabled": true
}For more information, see EC2 Serial Console in the Amazon EC2 User Guide.
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.