@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-20T22:20:00.480Z")
public interface VersionWeight
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()
The version to route traffic to.
|
java.lang.Number |
getWeight()
How much weight to assign to this version (0..1).
|
IVersion getVersion()
java.lang.Number getWeight()
static VersionWeight.Builder builder()
VersionWeight.Builder
of VersionWeight