> **Experimental**
>
> `@aws-cdk/aws-gamelift-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# DeleteOption

The type of delete to perform.

To delete a game server group, specify the DeleteOption.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/game-server-group.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0-alpha.0/packages/@aws-cdk/aws-gamelift-alpha/lib/game-server-group.ts#L60)

## Members

| Member | Description |
| --- | --- |
| `SAFE_DELETE` | Terminates the game server group and Amazon EC2 Auto Scaling group only when it has no game servers that are in UTILIZED status. |
| `FORCE_DELETE` | Terminates the game server group, including all active game servers regardless of their utilization status, and the Amazon EC2 Auto Scaling group. |
| `RETAIN` | Does a safe delete of the game server group but retains the Amazon EC2 Auto Scaling group as is. |

## Referenced by

- [`GameServerGroupProps`](/v2/docs/@aws-cdk_aws-gamelift-alpha.GameServerGroupProps).deleteOption
