@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:33.907Z") @Stability(value=Experimental) public interface VersionWeight 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.*;
Version version;
VersionWeight versionWeight = VersionWeight.builder()
.version(version)
.weight(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
VersionWeight.Builder
A builder for
VersionWeight |
static class |
VersionWeight.Jsii$Proxy
An implementation for
VersionWeight |
| Modifier and Type | Method and Description |
|---|---|
static VersionWeight.Builder |
builder() |
IVersion |
getVersion()
(experimental) The version to route traffic to.
|
Number |
getWeight()
(experimental) How much weight to assign to this version (0..1).
|
@Stability(value=Experimental) @NotNull IVersion getVersion()
@Stability(value=Experimental) @NotNull Number getWeight()
@Stability(value=Experimental) static VersionWeight.Builder builder()
VersionWeight.Builder of VersionWeightCopyright © 2022. All rights reserved.