get_serial_console_access_status
(**kwargs)¶Retrieves the access status of your account to the EC2 serial console of all instances. 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.get_serial_console_access_status(
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.