Creates an alias for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a different version.
lambda_create_alias(FunctionName, Name, FunctionVersion, Description,
RoutingConfig)[required] The name of the Lambda function.
Name formats
Function name - MyFunction.
Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
Partial ARN - 123456789012:function:MyFunction.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
[required] The name of the alias.
[required] The function version that the alias invokes.
A description of the alias.
The routing configuration of the alias.
svc$create_alias(
FunctionName = "string",
Name = "string",
FunctionVersion = "string",
Description = "string",
RoutingConfig = list(
AdditionalVersionWeights = list(
123.0
)
)
)
You can also map an alias to split invocation requests between two
versions. Use the RoutingConfig parameter to specify a second version
and the percentage of invocation requests that it receives.