# ServerDeploymentConfigProps

Construction properties of `ServerDeploymentConfig`.

Extends: ServerDeploymentConfigProps
Extends: BaseDeploymentConfigOptions
Used as props by: ServerDeploymentConfig

- Source: [`aws-codedeploy/lib/server/deployment-config.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-codedeploy/lib/server/deployment-config.ts#L22)
- Type last changed: v2.149.0 · 12 Jul 2024

## Example

```ts
const deploymentConfig = new codedeploy.ServerDeploymentConfig(this, 'DeploymentConfiguration', {
  deploymentConfigName: 'MyDeploymentConfiguration', // optional property
  // one of these is required, but both cannot be specified at the same time
  minimumHealthyHosts: codedeploy.MinimumHealthyHosts.count(2),
  // minimumHealthyHosts: codedeploy.MinimumHealthyHosts.percentage(75),
});
```

## Properties

- `deploymentConfigName`: string — The physical, human-readable name of the Deployment Configuration.

  **Default:** automatically generated name

- `minimumHealthyHosts`: [MinimumHealthyHosts](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.MinimumHealthyHosts.html) (required) — Minimum number of healthy hosts.

- `zonalConfig`: [ZonalConfig](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.ZonalConfig.html) — Configure CodeDeploy to deploy your application to one Availability Zone at a time within an AWS Region.

  **Default:** deploy your application to a random selection of hosts across a Region
