Class CfnAlias.VersionWeightProperty
The traffic-shifting configuration of a Lambda function alias.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAlias.VersionWeightProperty : CfnAlias.IVersionWeightProperty
Syntax (vb)
Public Class CfnAlias.VersionWeightProperty Implements CfnAlias.IVersionWeightProperty
Remarks
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.AWS.Lambda;
var versionWeightProperty = new VersionWeightProperty {
FunctionVersion = "functionVersion",
FunctionWeight = 123
};
Synopsis
Constructors
VersionWeightProperty() | The traffic-shifting configuration of a Lambda function alias. |
Properties
FunctionVersion | The qualifier of the second version. |
FunctionWeight | The percentage of traffic that the alias routes to the second version. |
Constructors
VersionWeightProperty()
The traffic-shifting configuration of a Lambda function alias.
public VersionWeightProperty()
Remarks
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.AWS.Lambda;
var versionWeightProperty = new VersionWeightProperty {
FunctionVersion = "functionVersion",
FunctionWeight = 123
};
Properties
FunctionVersion
The qualifier of the second version.
public string FunctionVersion { get; set; }
Property Value
Remarks
FunctionWeight
The percentage of traffic that the alias routes to the second version.
public double FunctionWeight { get; set; }