Show / Hide Table of Contents

Class CustomLambdaDeploymentConfigProps

(deprecated) Properties of a reference to a CodeDeploy Lambda Deployment Configuration.

Inheritance
object
CustomLambdaDeploymentConfigProps
Implements
ICustomLambdaDeploymentConfigProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

string

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

Duration

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

double

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

Implements

ICustomLambdaDeploymentConfigProps
Back to top Generated by DocFX