Interface CfnContainerFleet.DeploymentConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContainerFleet.DeploymentConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnContainerFleet
@Stability(Stable)
public static interface CfnContainerFleet.DeploymentConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Set of rules for processing a deployment for a container fleet update.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.gamelift.*;
DeploymentConfigurationProperty deploymentConfigurationProperty = DeploymentConfigurationProperty.builder()
.impairmentStrategy("impairmentStrategy")
.minimumHealthyPercentage(123)
.protectionStrategy("protectionStrategy")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnContainerFleet.DeploymentConfigurationPropertystatic final classAn implementation forCfnContainerFleet.DeploymentConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringDetermines what actions to take if a deployment fails.default NumberSets a minimum level of healthy tasks to maintain during deployment activity.default StringDetermines how fleet deployment activity affects active game sessions on the fleet.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getImpairmentStrategy
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.
- See Also:
-
getMinimumHealthyPercentage
Sets a minimum level of healthy tasks to maintain during deployment activity.- See Also:
-
getProtectionStrategy
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.
- See Also:
-
builder
-