Interface BaseDeploymentConfigProps

All Superinterfaces:
BaseDeploymentConfigOptions, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
BaseDeploymentConfigProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:14.164Z") @Stability(Stable) public interface BaseDeploymentConfigProps extends software.amazon.jsii.JsiiSerializable, BaseDeploymentConfigOptions
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 software.amazon.awscdk.services.codedeploy.*;
 MinimumHealthyHosts minimumHealthyHosts;
 TrafficRouting trafficRouting;
 BaseDeploymentConfigProps baseDeploymentConfigProps = BaseDeploymentConfigProps.builder()
         .computePlatform(ComputePlatform.SERVER)
         .deploymentConfigName("deploymentConfigName")
         .minimumHealthyHosts(minimumHealthyHosts)
         .trafficRouting(trafficRouting)
         .build();
 
  • Method Details

    • getComputePlatform

      @Stability(Stable) @Nullable default ComputePlatform getComputePlatform()
      The destination compute platform for the deployment.

      Default: ComputePlatform.Server

    • getMinimumHealthyHosts

      @Stability(Stable) @Nullable default MinimumHealthyHosts getMinimumHealthyHosts()
      Minimum number of healthy hosts.

      Default: None

    • getTrafficRouting

      @Stability(Stable) @Nullable default TrafficRouting getTrafficRouting()
      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.

      Default: None

    • builder

      @Stability(Stable) static BaseDeploymentConfigProps.Builder builder()
      Returns:
      a BaseDeploymentConfigProps.Builder of BaseDeploymentConfigProps