Class CfnAlias.VersionWeightProperty
The traffic-shifting configuration of a Lambda function alias.
Inheritance
System.Object
CfnAlias.VersionWeightProperty
Implements
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VersionWeightProperty : Object, CfnAlias.IVersionWeightProperty
Syntax (vb)
Public Class VersionWeightProperty
Inherits Object
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() |
Properties
FunctionVersion | The qualifier of the second version. |
FunctionWeight | The percentage of traffic that the alias routes to the second version. |
Constructors
VersionWeightProperty()
public VersionWeightProperty()
Properties
FunctionVersion
The qualifier of the second version.
public string FunctionVersion { get; set; }
Property Value
System.String
Remarks
FunctionWeight
The percentage of traffic that the alias routes to the second version.
public double FunctionWeight { get; set; }
Property Value
System.Double