aws-cdk-lib.aws_codedeploy.CustomLambdaDeploymentConfigProps

interface CustomLambdaDeploymentConfigProps ⚠️

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

⚠️ Deprecated: Use LambdaDeploymentConfig

Properties of a reference to a CodeDeploy Lambda Deployment Configuration.

Example

// 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

NameTypeDescription
interval⚠️DurationThe interval, in number of minutes: - For LINEAR, how frequently additional traffic is shifted - For CANARY, how long to shift traffic before the full deployment.
percentage⚠️numberThe 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.
type⚠️CustomLambdaDeploymentConfigTypeThe type of deployment config, either CANARY or LINEAR.
deploymentConfigName?⚠️stringThe verbatim name of the deployment config.

interval⚠️

⚠️ Deprecated: Use LambdaDeploymentConfig

Type: Duration

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.


percentage⚠️

⚠️ Deprecated: Use LambdaDeploymentConfig

Type: number

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.


type⚠️

⚠️ Deprecated: Use LambdaDeploymentConfig

Type: CustomLambdaDeploymentConfigType

The type of deployment config, either CANARY or LINEAR.


deploymentConfigName?⚠️

⚠️ Deprecated: Use LambdaDeploymentConfig

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

The verbatim name of the deployment config.

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