Interface ILambdaDeploymentConfigProps
Construction properties of LambdaDeploymentConfig
.
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ILambdaDeploymentConfigProps : IBaseDeploymentConfigOptions
Syntax (vb)
Public Interface ILambdaDeploymentConfigProps
Inherits IBaseDeploymentConfigOptions
Remarks
ExampleMetadata: infused
Examples
LambdaApplication application;
Alias alias;
var config = new LambdaDeploymentConfig(this, "CustomConfig", new LambdaDeploymentConfigProps {
TrafficRouting = new TimeBasedCanaryTrafficRouting(new TimeBasedCanaryTrafficRoutingProps {
Interval = Duration.Minutes(15),
Percentage = 5
})
});
var deploymentGroup = new LambdaDeploymentGroup(this, "BlueGreenDeployment", new LambdaDeploymentGroupProps {
Application = application,
Alias = alias,
DeploymentConfig = config
});
Synopsis
Properties
TrafficRouting | The configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment. |
Properties
TrafficRouting
The configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment.
virtual TrafficRouting TrafficRouting { get; }
Property Value
Remarks
Default: AllAtOnce