Class EcsDeploymentConfig.Builder

java.lang.Object
software.amazon.awscdk.services.codedeploy.EcsDeploymentConfig.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<EcsDeploymentConfig>
Enclosing class:
EcsDeploymentConfig

@Stability(Stable) public static final class EcsDeploymentConfig.Builder extends Object implements software.amazon.jsii.Builder<EcsDeploymentConfig>
A fluent builder for EcsDeploymentConfig.
  • Method Details

    • create

      @Stability(Stable) public static EcsDeploymentConfig.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of EcsDeploymentConfig.Builder.
    • deploymentConfigName

      @Stability(Stable) public EcsDeploymentConfig.Builder deploymentConfigName(String deploymentConfigName)
      The physical, human-readable name of the Deployment Configuration.

      Default: - automatically generated name

      Parameters:
      deploymentConfigName - The physical, human-readable name of the Deployment Configuration. This parameter is required.
      Returns:
      this
    • trafficRouting

      @Stability(Stable) public EcsDeploymentConfig.Builder trafficRouting(TrafficRouting trafficRouting)
      The configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment.

      Default: AllAtOnce

      Parameters:
      trafficRouting - The configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public EcsDeploymentConfig build()
      Specified by:
      build in interface software.amazon.jsii.Builder<EcsDeploymentConfig>
      Returns:
      a newly built instance of EcsDeploymentConfig.