This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Lambda::WebFunctionEndpoint RevisionWeight
Specifies a revision and its traffic weight for an endpoint. You can assign weights to up to two revisions to split traffic for canary or blue-green deployments.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "RevisionId" :String, "Weight" :Integer}
YAML
RevisionId:StringWeight:Integer
Properties
RevisionId-
The identifier of the revision.
Required: Yes
Type: String
Minimum:
1Maximum:
256Update requires: No interruption
Weight-
The percentage of traffic to route to this revision. Minimum value of 1, maximum value of 100.
Required: Yes
Type: Integer
Minimum:
1Maximum:
100Update requires: No interruption