Skip to content

DeploymentConfiguration

Source code in docs_src/capo_gamelift/types/deployment_configuration.py
class DeploymentConfiguration(TypedDict, closed=True):
    protection_strategy: NotRequired[
        "capo_gamelift.types.deployment_protection_strategy.DeploymentProtectionStrategy"
    ]
    """<p>Determines how fleet deployment activity affects active game sessions on the fleet. With protection, a deployment honors game session protection, and delays actions that would interrupt a protected active game session until the game session ends. Without protection, deployment activity can shut down all running tasks, including active game sessions, regardless of game session protection. </p>"""
    minimum_healthy_percentage: NotRequired[
        "capo_gamelift.types.minimum_healthy_percentage.MinimumHealthyPercentage"
    ]
    """<p>Sets a minimum level of healthy tasks to maintain during deployment activity. </p>"""
    impairment_strategy: NotRequired[
        "capo_gamelift.types.deployment_impairment_strategy.DeploymentImpairmentStrategy"
    ]
    """<p>Determines what actions to take if a deployment fails. If the fleet is multi-location, this strategy applies across all fleet locations. With a rollback strategy, updated fleet instances are rolled back to the last successful deployment. Alternatively, you can maintain a few impaired containers for the purpose of debugging, while all other tasks return to the last successful deployment.</p>"""

impairment_strategy instance-attribute

impairment_strategy: NotRequired[DeploymentImpairmentStrategy]

Determines what actions to take if a deployment fails. If the fleet is multi-location, this strategy applies across all fleet locations. With a rollback strategy, updated fleet instances are rolled back to the last successful deployment. Alternatively, you can maintain a few impaired containers for the purpose of debugging, while all other tasks return to the last successful deployment.

minimum_healthy_percentage instance-attribute

minimum_healthy_percentage: NotRequired[MinimumHealthyPercentage]

Sets a minimum level of healthy tasks to maintain during deployment activity.

protection_strategy instance-attribute

protection_strategy: NotRequired[DeploymentProtectionStrategy]

Determines how fleet deployment activity affects active game sessions on the fleet. With protection, a deployment honors game session protection, and delays actions that would interrupt a protected active game session until the game session ends. Without protection, deployment activity can shut down all running tasks, including active game sessions, regardless of game session protection.