Class CfnFleet.ComputeCapacityProperty
The desired capacity for a fleet.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AppStream
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFleet.ComputeCapacityProperty : CfnFleet.IComputeCapacityProperty
Syntax (vb)
Public Class CfnFleet.ComputeCapacityProperty Implements CfnFleet.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
Constructors
ComputeCapacityProperty() | The desired capacity for a fleet. |
Properties
DesiredInstances | The desired number of streaming instances. |
DesiredSessions | The desired capacity in terms of number of user sessions, for the multi-session fleet. |
Constructors
ComputeCapacityProperty()
The desired capacity for a fleet.
public ComputeCapacityProperty()
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
};
Properties
DesiredInstances
The desired number of streaming instances.
public double? DesiredInstances { get; set; }
Property Value
Remarks
DesiredSessions
The desired capacity in terms of number of user sessions, for the multi-session fleet.
public double? DesiredSessions { get; set; }
Property Value
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.