# BaseDeploymentConfigProps

Complete base deployment config properties that are required to be supplied by the implementation of the BaseDeploymentConfig class.

Extends: BaseDeploymentConfigProps
Extends: BaseDeploymentConfigOptions
Used as props by: BaseDeploymentConfig

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

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_codedeploy as codedeploy } from 'aws-cdk-lib';

declare const minimumHealthyHosts: codedeploy.MinimumHealthyHosts;
declare const minimumHealthyHostsPerZone: codedeploy.MinimumHealthyHostsPerZone;
declare const trafficRouting: codedeploy.TrafficRouting;
const baseDeploymentConfigProps: codedeploy.BaseDeploymentConfigProps = {
  computePlatform: codedeploy.ComputePlatform.SERVER,
  deploymentConfigName: 'deploymentConfigName',
  minimumHealthyHosts: minimumHealthyHosts,
  trafficRouting: trafficRouting,
  zonalConfig: {
    firstZoneMonitorDuration: cdk.Duration.minutes(30),
    minimumHealthyHostsPerZone: minimumHealthyHostsPerZone,
    monitorDuration: cdk.Duration.minutes(30),
  },
};
```

## Properties

- `computePlatform`: [ComputePlatform](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.ComputePlatform.html) = ComputePlatform.Server — The destination compute platform for the deployment.

- `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) = None — Minimum number of healthy hosts.

- `trafficRouting`: [TrafficRouting](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.TrafficRouting.html) = None — The configuration that specifies how traffic is shifted during a deployment.

  Only applicable to ECS and Lambda deployments, and must not be specified for Server deployments.

- `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
