Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A Lambda Alias is like a pointer to a specific function version. Users can access the function version using the alias Alias Amazon Resource Name (ARN). We can create one or more aliases 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.

Input

Input Name

Input Code

Type

Required

Description

Alias Name

FDAWS_LAMBDA_INP_ALIAS_NAME

String

Yes

AWS Lambda Alias name

Alias Description

FDAWS_LAMBDA_INP_ALIAS_DESCR

String

No

Description of the Alias

Alias Additional Argument

FDAWS_LAMBDA_INP_ALIAS_ADDITIONAL_ARG

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

FDAWS_LAMBDA_INP_FUNCTION_VERSION

String

Yes

Function version associated with Alias

Target Properties

Property Name

Property Code

Type

Required

Description

AWS Cloud Account

FDAWS_ACCOUNT_CODE

String

Yes

AWS cloud account Name.

AWS CLI Path

FDAWS_CLI_PATH

String

No

The path to the directory where AWS CLI is installed.

AWS Region

FDAWS_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

FDAWS_LAMBDA_FUNCTION_NAME

String

Yes

AWS Lambda Function name

Outputs

Output Name

Output Code

Optional

Description

Response Message

FDAWS_LAMBDA_OUT_GET_ALIAS_RESP_MSG

No

Response message of the Alias retrieval details.

Function Version Number

FDAWS_LAMBDA_OUT_GET_ALIAS_FUNCTION_VERSION

No

Active version of Function associated to Alias.

Additional Version Weights

FDAWS_LAMBDA_OUT_GET_ADDITIONAL_VERSION_WEIGHTS

No

Additional version weight detail.

Alias previous function version

FDAWS_LAMBDA_OUT_GET_ALIAS_FUNCTION_PREV_VERSION

No

Previously Active version.

Artifacts

This operation will not consume or produce any artifact.

...