Interface CfnFleet.IComputeCapacityProperty
The desired capacity for a fleet.
Namespace: Amazon.CDK.AWS.AppStream
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IComputeCapacityProperty
Syntax (vb)
Public Interface IComputeCapacityProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppStream;
var computeCapacityProperty = new ComputeCapacityProperty {
DesiredInstances = 123,
DesiredSessions = 123
};
Synopsis
Properties
DesiredInstances | The desired number of streaming instances. |
DesiredSessions | The desired capacity in terms of number of user sessions, for the multi-session fleet. |
Properties
DesiredInstances
The desired number of streaming instances.
virtual Nullable<double> DesiredInstances { get; }
Property Value
System.Nullable<System.Double>
Remarks
DesiredSessions
The desired capacity in terms of number of user sessions, for the multi-session fleet.
virtual Nullable<double> DesiredSessions { get; }
Property Value
System.Nullable<System.Double>
Remarks
This is not allowed for single-session fleets.
When you create a fleet, you must set define 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.