EC2.Client.
disable_serial_console_access
(**kwargs)¶Disables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide .
See also: AWS API Documentation
Request Syntax
response = client.disable_serial_console_access(
DryRun=True|False
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.{
'SerialConsoleAccessEnabled': True|False
}
Response Structure
If true
, access to the EC2 serial console of all instances is enabled for your account. If false
, access to the EC2 serial console of all instances is disabled for your account.