@Generated(value="jsii-pacmak/1.14.0 (build 729554b)", date="2020-10-29T17:34:18.472Z") @Stability(value=Stable) public interface AliasOptions extends software.amazon.jsii.JsiiSerializable, EventInvokeConfigOptions
| Modifier and Type | Interface and Description |
|---|---|
static class |
AliasOptions.Builder
A builder for
AliasOptions |
static class |
AliasOptions.Jsii$Proxy
An implementation for
AliasOptions |
| Modifier and Type | Method and Description |
|---|---|
static AliasOptions.Builder |
builder() |
default List<VersionWeight> |
getAdditionalVersions()
Additional versions with individual weights this alias points to.
|
default String |
getDescription()
Description for the alias.
|
default Number |
getProvisionedConcurrentExecutions()
Specifies a provisioned concurrency configuration for a function's alias.
|
getMaxEventAge, getOnFailure, getOnSuccess, getRetryAttempts@Stability(value=Stable) @Nullable default List<VersionWeight> getAdditionalVersions()
Individual additional version weights specified here should add up to (less than) one. All remaining weight is routed to the default version.
For example, the config is
version: "1"
additionalVersions: [{ version: "2", weight: 0.05 }]
Then 5% of traffic will be routed to function version 2, while the remaining 95% of traffic will be routed to function version 1.
Default: No additional versions
@Stability(value=Stable) @Nullable default String getDescription()
Default: No description
@Stability(value=Stable) @Nullable default Number getProvisionedConcurrentExecutions()
Default: No provisioned concurrency
@Stability(value=Stable) static AliasOptions.Builder builder()
builder in interface EventInvokeConfigOptionsAliasOptions.Builder of AliasOptionsCopyright © 2020. All rights reserved.