Interface CfnContainerFleet.IDeploymentConfigurationProperty
Set of rules for processing a deployment for a container fleet update.
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnContainerFleet.IDeploymentConfigurationProperty
Syntax (vb)
Public Interface CfnContainerFleet.IDeploymentConfigurationProperty
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.GameLift;
var deploymentConfigurationProperty = new DeploymentConfigurationProperty {
ImpairmentStrategy = "impairmentStrategy",
MinimumHealthyPercentage = 123,
ProtectionStrategy = "protectionStrategy"
};
Synopsis
Properties
ImpairmentStrategy | Determines what actions to take if a deployment fails. |
MinimumHealthyPercentage | Sets a minimum level of healthy tasks to maintain during deployment activity. |
ProtectionStrategy | Determines how fleet deployment activity affects active game sessions on the fleet. |
Properties
ImpairmentStrategy
Determines what actions to take if a deployment fails.
string? ImpairmentStrategy { get; }
Property Value
Remarks
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.
MinimumHealthyPercentage
Sets a minimum level of healthy tasks to maintain during deployment activity.
double? MinimumHealthyPercentage { get; }
Property Value
Remarks
ProtectionStrategy
Determines how fleet deployment activity affects active game sessions on the fleet.
string? ProtectionStrategy { get; }
Property Value
Remarks
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.