Skip to content

Phase

Source code in docs_src/capo_sagemaker/types/phase.py
class Phase(TypedDict, closed=True):
    initial_number_of_users: NotRequired[
        "capo_sagemaker.types.initial_number_of_users.InitialNumberOfUsers"
    ]
    """<p>Specifies how many concurrent users to start with. The value should be between 1 and 3.</p>"""
    spawn_rate: NotRequired["capo_sagemaker.types.spawn_rate.SpawnRate"]
    """<p>Specified how many new users to spawn in a minute.</p>"""
    duration_in_seconds: NotRequired[
        "capo_sagemaker.types.traffic_duration_in_seconds.TrafficDurationInSeconds"
    ]
    """<p>Specifies how long a traffic phase should be. For custom load tests, the value should be between 120 and 3600. This value should not exceed <code>JobDurationInSeconds</code>.</p>"""

duration_in_seconds instance-attribute

duration_in_seconds: NotRequired[TrafficDurationInSeconds]

Specifies how long a traffic phase should be. For custom load tests, the value should be between 120 and 3600. This value should not exceed JobDurationInSeconds.

initial_number_of_users instance-attribute

initial_number_of_users: NotRequired[InitialNumberOfUsers]

Specifies how many concurrent users to start with. The value should be between 1 and 3.

spawn_rate instance-attribute

spawn_rate: NotRequired[SpawnRate]

Specified how many new users to spawn in a minute.