VersionWeight(*, version, weight)¶
A version/weight pair for routing traffic to Lambda functions.
IVersion) – The version to route traffic to.
float]) – How much weight to assign to this version (0..1).
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lambda as lambda_ # version: lambda.Version version_weight = lambda.VersionWeight( version=version, weight=123 )
How much weight to assign to this version (0..1).
- Return type