Show / Hide Table of Contents

Class CfnFleet.ComputeCapacityProperty

The desired capacity for a fleet.

Inheritance
object
CfnFleet.ComputeCapacityProperty
Implements
CfnFleet.IComputeCapacityProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-fleet-computecapacity.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-fleet-computecapacity.html

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

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-fleet-computecapacity.html#cfn-appstream-fleet-computecapacity-desiredinstances

DesiredSessions

The desired capacity in terms of number of user sessions, for the multi-session fleet.

public double? DesiredSessions { get; set; }
Property Value

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-fleet-computecapacity.html#cfn-appstream-fleet-computecapacity-desiredsessions

Implements

CfnFleet.IComputeCapacityProperty
Back to top Generated by DocFX