Skip to content
v2.274.0

RevisionWeightProperty Struct ​

A revision routing entry.

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';
const revisionWeightProperty: lambda.CfnWebFunctionEndpoint.RevisionWeightProperty = {
  revisionId: 'revisionId',
  weight: 123,
};

Properties ​

revisionIdstringrevision_idstrrevisionIdStringRevisionIdstringRevisionId*stringrequired#
The revision identifier.
weightnumberweightint | floatweightNumberWeightdoubleWeight*float64required#
The traffic weight for this revision.