Interface AliasOptions
Options for lambda.Alias
.
stable
Synopsis
Properties
additionalVersions | Additional versions with individual weights this alias points to. |
description | Description for the alias. |
provisionedConcurrentExecutions | Specifies a provisioned concurrency configuration for a function's alias. |
Properties
additionalVersions
Additional versions with individual weights this alias points to.
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.
No additional versions stable
Declaration
readonly additionalVersions?: VersionWeight[];
Property Value
VersionWeight[]
description
Description for the alias.
No description stable
Declaration
readonly description?: string;
Property Value
string
provisionedConcurrentExecutions
Specifies a provisioned concurrency configuration for a function's alias.
No provisioned concurrency stable
Declaration
readonly provisionedConcurrentExecutions?: number;
Property Value
number