interface CustomLambdaDeploymentConfigProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodeDeploy.CustomLambdaDeploymentConfigProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscodedeploy#CustomLambdaDeploymentConfigProps |
![]() | software.amazon.awscdk.services.codedeploy.CustomLambdaDeploymentConfigProps |
![]() | aws_cdk.aws_codedeploy.CustomLambdaDeploymentConfigProps |
![]() | 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
Name | Type | Description |
---|---|---|
interval | 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 | 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 | Custom | The type of deployment config, either CANARY or LINEAR. |
deployment | string | The 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:
Custom
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.