interface DeploymentConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.GameLift.CfnContainerFleet.DeploymentConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsgamelift#CfnContainerFleet_DeploymentConfigurationProperty |
Java | software.amazon.awscdk.services.gamelift.CfnContainerFleet.DeploymentConfigurationProperty |
Python | aws_cdk.aws_gamelift.CfnContainerFleet.DeploymentConfigurationProperty |
TypeScript | aws-cdk-lib » aws_gamelift » CfnContainerFleet » DeploymentConfigurationProperty |
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 { aws_gamelift as gamelift } from 'aws-cdk-lib';
const deploymentConfigurationProperty: gamelift.CfnContainerFleet.DeploymentConfigurationProperty = {
impairmentStrategy: 'impairmentStrategy',
minimumHealthyPercentage: 123,
protectionStrategy: 'protectionStrategy',
};
Properties
| Name | Type | Description |
|---|---|---|
| impairment | string | Determines what actions to take if a deployment fails. |
| minimum | number | Sets a minimum level of healthy tasks to maintain during deployment activity. |
| protection | string | Determines how fleet deployment activity affects active game sessions on the fleet. |
impairmentStrategy?
Type:
string
(optional)
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.
minimumHealthyPercentage?
Type:
number
(optional)
Sets a minimum level of healthy tasks to maintain during deployment activity.
protectionStrategy?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript