upsertLambdaAlias
A Lambda Alias is like a pointer to a specific function version. Users can access the function version using the Alias Amazon Resource Name (ARN). We can create one or more Aliases against the same Lambda function. The upsert operation will first check the given Alias, if Alias is already present then update the Alias to refer given function version and if Alias is not present then it will create a new Alias. The operation will take the Alias name, description, additional argument, and function version as input and the function name from the Project property. Apart from the complete response, the operation will set the value of the previous function version, current function version, and Additional version weight details as plugin output. In case Alias is newly created then the value of the previous function version will be set as “NA”, If the Additional version weight option is not used in the Alias, “NA” will be set as plugin output. Operation will use the configured AWS cloud account to perform the operation.
Target Properties
Property Name | Property Code | Type | Required | Description |
AWS Cloud Account |
| String | Yes | AWS cloud account Name. |
AWS CLI Path |
| String | No | The path to the directory where AWS CLI is installed. |
AWS Region |
| String | No | The default region found on the top right corner of the AWS management console. e.g. us-east-1 |
Project Properties
Property Name | Property Code | Type | Required | Description |
Lambda Function Name |
| String | Yes | AWS Lambda Function name |
Inputs
Input Name | Input Code | Type | Required | Description |
Alias Name |
| String | Yes | AWS Lambda Alias name |
Alias Description |
| String | No | Description of the Alias |
Alias Additional Argument |
| String | No | Literal key and value pairs. e.g. --region=us-east-1 And for boolean type arguments give the option without any value. e.g --publish --debug |
Alias Function Version |
| String | Yes | Function version associated with Alias |
Outputs
Output Name | Output Code | Optional | Description |
Response Message |
| No | Response message of the Alias retrieval details. |
Function Version Number |
| No | Active version of Function associated to Alias. |
Additional Version Weights |
| No | Additional version weight detail. |
Alias previous function version |
| No | Previously Active version. |
Artifacts
This operation will not consume or produce any artifact.
Endpoint Selection
This operation will select all available endpoints associated with the target.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
- style