Interface CfnAlias.VersionWeightProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAlias.VersionWeightProperty.Jsii$Proxy
- Enclosing class:
CfnAlias
@Stability(Stable)
public static interface CfnAlias.VersionWeightProperty
extends software.amazon.jsii.JsiiSerializable
The traffic-shifting configuration of a Lambda function alias.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.lambda.*; VersionWeightProperty versionWeightProperty = VersionWeightProperty.builder() .functionVersion("functionVersion") .functionWeight(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAlias.VersionWeightProperty
static final class
An implementation forCfnAlias.VersionWeightProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The qualifier of the second version.The percentage of traffic that the alias routes to the second version.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFunctionVersion
The qualifier of the second version. -
getFunctionWeight
The percentage of traffic that the alias routes to the second version. -
builder
-