aws-cdk-lib.aws_codedeploy.ServerDeploymentConfigProps

interface ServerDeploymentConfigProps

LanguageType name
.NETAmazon.CDK.AWS.CodeDeploy.ServerDeploymentConfigProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodedeploy#ServerDeploymentConfigProps
Javasoftware.amazon.awscdk.services.codedeploy.ServerDeploymentConfigProps
Pythonaws_cdk.aws_codedeploy.ServerDeploymentConfigProps
TypeScript (source)aws-cdk-lib » aws_codedeploy » ServerDeploymentConfigProps

Construction properties of ServerDeploymentConfig.

Example

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

NameTypeDescription
minimumHealthyHostsMinimumHealthyHostsMinimum number of healthy hosts.
deploymentConfigName?stringThe physical, human-readable name of the Deployment Configuration.

minimumHealthyHosts

Type: MinimumHealthyHosts

Minimum number of healthy hosts.


deploymentConfigName?

Type: string (optional, default: automatically generated name)

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