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.

Describes an instance running on a Dedicated Host.

Inheritance Hierarchy


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


public class HostInstance

The HostInstance type exposes the following members


Public Method HostInstance()


Public Property InstanceId System.String

Gets and sets the property InstanceId.

The ID of instance that is running on the Dedicated Host.

Public Property InstanceType System.String

Gets and sets the property InstanceType.

The instance type (for example, m3.medium) of the running instance.

Public Property OwnerId System.String

Gets and sets the property OwnerId.

The ID of the Amazon Web Services account that owns the instance.

Version Information

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