Interface CfnAlias.IAliasRoutingConfigurationProperty
The traffic-shifting configuration of a Lambda function alias.
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.AWS.Lambda.dll
Syntax (csharp)
public interface IAliasRoutingConfigurationProperty
Syntax (vb)
Public Interface IAliasRoutingConfigurationProperty
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 aliasRoutingConfigurationProperty = new AliasRoutingConfigurationProperty {
AdditionalVersionWeights = new [] { new VersionWeightProperty {
FunctionVersion = "functionVersion",
FunctionWeight = 123
} }
};
Synopsis
Properties
AdditionalVersionWeights | The second version, and the percentage of traffic that's routed to it. |
Properties
AdditionalVersionWeights
The second version, and the percentage of traffic that's routed to it.
object AdditionalVersionWeights { get; }
Property Value
System.Object