Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

AWS Lambda environment variables use to adjust the function's behavior without updating the code. An environment variable is a pair of strings that are stored in a function's version-specific configuration. Lambda runtime makes environment variables available to our code and sets additional environment variables that contain information about the function and invocation request. Using the Environment variables file or Input Argument we can add the function Environment variables. Operation will use the configured AWS cloud account to perform the operation.

Input

Input Name

Input Code

Type

Required

Description

Additional Arguments

FDAWS_LAMBDA_INP_ADD_ENV_VAR_ADDITIONAL_ARG

String

No

Literal key and value pairs. e.g. --region=us-east-1 --memory-size=512 --timeout=33

Environment Variables

FDAWS_LAMBDA_INP_ENV_VAR

String

No

Environment Variables in acceptable format

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.

Project Properties 

Property Name

Property Code

Type

Required

Description

Lambda Function Name

FDAWS_LAMBDA_FUNCTION_NAME

String

No

In case Function Name is not given, name of the Environment Variable File will be considered as function name.

Environment Variables File Path

FDAWS_LAMBDA_ENV_VAR_FILE_PATH

String

No

If the file path is given, then check if file exists on the given path, if the file not exists then consider the path as relative path and operation will search the file in the $FD_ARTIFACT_DIR. If no file is found in the Artifact directory with given path then check file in Archive present in the Artifact directory.

KMS Detail

FDAWS_LAMBDA_KMS_KEY_OR_ARN

String

No

Key Id or Key ARN details. Key Id or Key ARN both are accepted. For any secured variables this detail is mandatory.

Outputs

Output Name

Output Code

Optional

Description

NA

 

 

 

Artifacts

This operation will consume artifact (in case Environment Variable File provided). Operation will look for the property file in the artifact and use the file to update the Lambda Environment Variables.

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.

  • No labels