Class CustomLambdaDeploymentConfig.Builder

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

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

    • create

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

      @Stability(Deprecated) @Deprecated public CustomLambdaDeploymentConfig.Builder interval(Duration interval)
      Deprecated.
      Use LambdaDeploymentConfig
      (deprecated) The interval, in number of minutes: - For LINEAR, how frequently additional traffic is shifted - For CANARY, how long to shift traffic before the full deployment.

      Parameters:
      interval - The interval, in number of minutes: - For LINEAR, how frequently additional traffic is shifted - For CANARY, how long to shift traffic before the full deployment. This parameter is required.
      Returns:
      this
    • percentage

      @Stability(Deprecated) @Deprecated public CustomLambdaDeploymentConfig.Builder percentage(Number percentage)
      Deprecated.
      Use LambdaDeploymentConfig
      (deprecated) The integer percentage of traffic to shift: - For LINEAR, the percentage to shift every interval - For CANARY, the percentage to shift until the interval passes, before the full deployment.

      Parameters:
      percentage - The integer percentage of traffic to shift: - For LINEAR, the percentage to shift every interval - For CANARY, the percentage to shift until the interval passes, before the full deployment. This parameter is required.
      Returns:
      this
    • type

      Deprecated.
      Use LambdaDeploymentConfig
      (deprecated) The type of deployment config, either CANARY or LINEAR.

      Parameters:
      type - The type of deployment config, either CANARY or LINEAR. This parameter is required.
      Returns:
      this
    • deploymentConfigName

      @Stability(Deprecated) @Deprecated public CustomLambdaDeploymentConfig.Builder deploymentConfigName(String deploymentConfigName)
      Deprecated.
      Use LambdaDeploymentConfig
      (deprecated) The verbatim name of the deployment config.

      Must be unique per account/region. Other parameters cannot be updated if this name is provided.

      Default: - automatically generated name

      Parameters:
      deploymentConfigName - The verbatim name of the deployment config. This parameter is required.
      Returns:
      this
    • build

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