Skip to content

ComputeCapacity

Source code in docs_src/capo_appstream/types/compute_capacity.py
class ComputeCapacity(TypedDict, closed=True):
    desired_instances: NotRequired["capo_appstream.types.integer.Integer"]
    """<p>The desired number of streaming instances.</p>"""
    desired_sessions: NotRequired["capo_appstream.types.integer.Integer"]
    """<p>The desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.</p> <p>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.</p>"""

desired_instances instance-attribute

desired_instances: NotRequired[Integer]

The desired number of streaming instances.

desired_sessions instance-attribute

desired_sessions: NotRequired[Integer]

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.