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.

Information about the number of instances that can be launched onto the Dedicated Host.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.InstanceCapacity

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

Syntax

C#
public class InstanceCapacity

The InstanceCapacity type exposes the following members

Constructors

NameDescription
Public Method InstanceCapacity()

Properties

NameTypeDescription
Public Property AvailableCapacity System.Int32

Gets and sets the property AvailableCapacity.

The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.

Public Property InstanceType System.String

Gets and sets the property InstanceType.

The instance type supported by the Dedicated Host.

Public Property TotalCapacity System.Int32

Gets and sets the property TotalCapacity.

The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5