A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_lambda/VersionWeight.html below:

Website Navigation


VersionWeight — AWS Cloud Development Kit 1.204.0 documentation

VersionWeight
class aws_cdk.aws_lambda.VersionWeight(*, version, weight)

Bases: object

A version/weight pair for routing traffic to Lambda functions.

Parameters:
  • version (IVersion) – The version to route traffic to.

  • weight (Union[int, float]) – How much weight to assign to this version (0..1).

ExampleMetadata:

fixture=_generated

Example:

# 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
)

Attributes

version

The version to route traffic to.

weight

How much weight to assign to this version (0..1).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4