aws-cdk-lib.aws_codedeploy.BaseDeploymentConfigProps

interface BaseDeploymentConfigProps

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

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

Example

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

declare const minimumHealthyHosts: codedeploy.MinimumHealthyHosts;
declare const trafficRouting: codedeploy.TrafficRouting;
const baseDeploymentConfigProps: codedeploy.BaseDeploymentConfigProps = {
  computePlatform: codedeploy.ComputePlatform.SERVER,
  deploymentConfigName: 'deploymentConfigName',
  minimumHealthyHosts: minimumHealthyHosts,
  trafficRouting: trafficRouting,
};

Properties

NameTypeDescription
computePlatform?ComputePlatformThe destination compute platform for the deployment.
deploymentConfigName?stringThe physical, human-readable name of the Deployment Configuration.
minimumHealthyHosts?MinimumHealthyHostsMinimum number of healthy hosts.
trafficRouting?TrafficRoutingThe configuration that specifies how traffic is shifted during a deployment.

computePlatform?

Type: ComputePlatform (optional, default: ComputePlatform.Server)

The destination compute platform for the deployment.


deploymentConfigName?

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

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


minimumHealthyHosts?

Type: MinimumHealthyHosts (optional, default: None)

Minimum number of healthy hosts.


trafficRouting?

Type: TrafficRouting (optional, default: 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.