AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

ServerDeploymentConfig

A custom Deployment Configuration for an EC2/on-premise Deployment Group.

Import

import { ServerDeploymentConfig } from 'aws-cdk-lib/aws-codedeploy';

Or use the module namespace:

import * as codedeploy from 'aws-cdk-lib/aws-codedeploy';
// codedeploy.ServerDeploymentConfig

Properties

Configuration passed to the constructor as ServerDeploymentConfigProps.

minimumHealthyHostsRequired
MinimumHealthyHosts

Minimum number of healthy hosts.

zonalConfigOptional
ZonalConfig

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

1 property inherited from BaseDeploymentConfigOptions
deploymentConfigNameOptionalinherited from BaseDeploymentConfigOptions
string

The physical, human-readable name of the Deployment Configuration.

Default: - automatically generated name

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter