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 the capacity for a fleet.

Inheritance Hierarchy

System.Object
  Amazon.AppStream.Model.ComputeCapacity

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

Syntax

C#
public class ComputeCapacity

The ComputeCapacity type exposes the following members

Constructors

NameDescription
Public Method ComputeCapacity()

Properties

NameTypeDescription
Public Property DesiredInstances System.Int32

Gets and sets the property DesiredInstances.

The desired number of streaming instances.

Public Property DesiredSessions System.Int32

Gets and sets the property DesiredSessions.

The desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.

When you create a fleet, you must set either the DesiredSessions or DesiredInstances attribute, based on the type of fleet you create. You can’t define both attributes or leave both attributes blank.

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