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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAlias.VersionWeightPropertystatic final classAn 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.- See Also:
-
getFunctionWeight
The percentage of traffic that the alias routes to the second version.- See Also:
-
builder
-