Class CustomLambdaDeploymentConfigProps
(deprecated) Properties of a reference to a CodeDeploy Lambda Deployment Configuration.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CustomLambdaDeploymentConfigProps : ICustomLambdaDeploymentConfigProps
Syntax (vb)
Public Class CustomLambdaDeploymentConfigProps Implements ICustomLambdaDeploymentConfigProps
Remarks
Stability: Deprecated
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Amazon.CDK.AWS.CodeDeploy;
var customLambdaDeploymentConfigProps = new CustomLambdaDeploymentConfigProps {
Interval = Duration.Minutes(30),
Percentage = 123,
Type = CustomLambdaDeploymentConfigType.CANARY,
// the properties below are optional
DeploymentConfigName = "deploymentConfigName"
};
Synopsis
Constructors
| CustomLambdaDeploymentConfigProps() | (deprecated) Properties of a reference to a CodeDeploy Lambda Deployment Configuration. |
Properties
| DeploymentConfigName | (deprecated) The verbatim name of the deployment config. |
| Interval | (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. |
| Percentage | (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. |
| Type | (deprecated) The type of deployment config, either CANARY or LINEAR. |
Constructors
CustomLambdaDeploymentConfigProps()
(deprecated) Properties of a reference to a CodeDeploy Lambda Deployment Configuration.
public CustomLambdaDeploymentConfigProps()
Remarks
Stability: Deprecated
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Amazon.CDK.AWS.CodeDeploy;
var customLambdaDeploymentConfigProps = new CustomLambdaDeploymentConfigProps {
Interval = Duration.Minutes(30),
Percentage = 123,
Type = CustomLambdaDeploymentConfigType.CANARY,
// the properties below are optional
DeploymentConfigName = "deploymentConfigName"
};
Properties
DeploymentConfigName
(deprecated) The verbatim name of the deployment config.
[Obsolete("Use `LambdaDeploymentConfig`")]
public string? DeploymentConfigName { get; set; }
Property Value
Remarks
Must be unique per account/region. Other parameters cannot be updated if this name is provided.
Default: - automatically generated name
Stability: Deprecated
Interval
(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.
[Obsolete("Use `LambdaDeploymentConfig`")]
public Duration Interval { get; set; }
Property Value
Remarks
Stability: Deprecated
Percentage
(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.
[Obsolete("Use `LambdaDeploymentConfig`")]
public double Percentage { get; set; }
Property Value
Remarks
Stability: Deprecated
Type
(deprecated) The type of deployment config, either CANARY or LINEAR.
[Obsolete("Use `LambdaDeploymentConfig`")]
public CustomLambdaDeploymentConfigType Type { get; set; }
Property Value
CustomLambdaDeploymentConfigType
Remarks
Stability: Deprecated