@Stability(value=Stable)
public static interface CfnAlias.VersionWeightProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAlias.VersionWeightProperty.Builder
A builder for
CfnAlias.VersionWeightProperty |
static class |
CfnAlias.VersionWeightProperty.Jsii$Proxy
An implementation for
CfnAlias.VersionWeightProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAlias.VersionWeightProperty.Builder |
builder() |
String |
getFunctionVersion()
The qualifier of the second version.
|
Number |
getFunctionWeight()
The percentage of traffic that the alias routes to the second version.
|
@Stability(value=Stable) @NotNull String getFunctionVersion()
@Stability(value=Stable) @NotNull Number getFunctionWeight()
@Stability(value=Stable) static CfnAlias.VersionWeightProperty.Builder builder()
Copyright © 2023. All rights reserved.