@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.483Z") @Stability(value=Experimental) 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()
(experimental) Additional versions with individual weights this alias points to.
|
default String |
getDescription()
(experimental) Description for the alias.
|
default Number |
getProvisionedConcurrentExecutions()
(experimental) Specifies a provisioned concurrency configuration for a function's alias.
|
getMaxEventAge, getOnFailure, getOnSuccess, getRetryAttempts@Stability(value=Experimental) @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=Experimental) @Nullable default String getDescription()
Default: No description
@Stability(value=Experimental) @Nullable default Number getProvisionedConcurrentExecutions()
Default: No provisioned concurrency
@Stability(value=Experimental) static AliasOptions.Builder builder()
builder in interface EventInvokeConfigOptionsAliasOptions.Builder of AliasOptionsCopyright © 2021. All rights reserved.