AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the GetConsoleScreenshot operation. Retrieve a JPG-format screenshot of a running instance to help with troubleshooting.

The returned content is Base64-encoded.

For more information, see Instance console output in the Amazon EC2 User Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.AmazonEC2Request
      Amazon.EC2.Model.GetConsoleScreenshotRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class GetConsoleScreenshotRequest : AmazonEC2Request
         IAmazonWebServiceRequest

The GetConsoleScreenshotRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property InstanceId System.String

Gets and sets the property InstanceId.

The ID of the instance.

Public Property WakeUp System.Boolean

Gets and sets the property WakeUp.

When set to true, acts as keystroke input and wakes up an instance that's in standby or "sleep" mode.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5