Skip to content

Retrieves the access status of your account to the EC2 serial console of all instances

Description

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.

Usage

ec2_get_serial_console_access_status(DryRun)

Arguments

  • DryRun

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Value

A list with the following syntax:

list(
  SerialConsoleAccessEnabled = TRUE|FALSE,
  ManagedBy = "account"|"declarative-policy"
)

Request syntax

svc$get_serial_console_access_status(
  DryRun = TRUE|FALSE
)