VersionWeight Struct
A version/weight pair for routing traffic to Lambda functions.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
declare const version: lambda.Version;
const versionWeight: lambda.VersionWeight = {
version: version,
weight: 123,
};