Skip to content
v2.274.0

CustomLambdaDeploymentConfigProps Struct ​

Properties of a reference to a CodeDeploy Lambda Deployment Configuration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const customLambdaDeploymentConfigProps: codedeploy.CustomLambdaDeploymentConfigProps = {
  interval: cdk.Duration.minutes(30),
  percentage: 123,
  type: codedeploy.CustomLambdaDeploymentConfigType.CANARY,

  // the properties below are optional
  deploymentConfigName: 'deploymentConfigName',
};

Properties ​

deploymentConfigNamestringdeployment_config_namestrdeploymentConfigNameStringDeploymentConfigNamestringDeploymentConfigName*string= automatically generated namedeprecated#
Use `LambdaDeploymentConfig`

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

intervalDurationintervalDurationintervalDurationIntervalDurationIntervalDurationrequireddeprecated#
Use `LambdaDeploymentConfig`
percentagenumberpercentageint | floatpercentageNumberPercentagedoublePercentage*float64requireddeprecated#
Use `LambdaDeploymentConfig`