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