RevisionWeight - AWS Lambda Web
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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.

Contents

revisionId

The identifier of the revision.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: Yes

weight

The percentage of traffic to route to this revision. Minimum value of 1, maximum value of 100.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: