Show / Hide Table of Contents

Interface ILambdaDeploymentConfigProps

Construction properties of LambdaDeploymentConfig.

Inherited Members
IBaseDeploymentConfigOptions.DeploymentConfigName
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.

TrafficRouting? TrafficRouting { get; }
Property Value

TrafficRouting

Remarks

Default: AllAtOnce

Back to top Generated by DocFX