Versions Compared

Key

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

AWS Lambda environment variables use are used to adjust the function's behavior without updating the code. An environment variable is a key-value pair of strings that are is 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 environment variables file or Input Argument input argument, we can add the function Environment environment variables. Operation This operation will use the configured AWS cloud account to perform the operation.

...

Property Name

Property Code

Type

Required

Description

AWS Cloud Account

FDAWS_ACCOUNT_CODE

String

Yes

AWS cloud account Namename.

AWS CLI Path

FDAWS_CLI_PATH

String

No

The path to the directory where AWS CLI is installed.

...

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 variables in acceptable format

Project Properties 

Property Name

Property Code

Type

Required

Description

Lambda Function Name

FDAWS_LAMBDA_FUNCTION_NAME

String

No

In the case that Function Name is not given, the 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 does not exist at the path is given, then check if file exists on the given path, if the file not exists then consider the path as relative path path will be considered relative and operation will search the file in the $FD_ARTIFACT_DIRartifacts directory. If no file is found in the Artifact artifacts directory with given path, then it will check for the file in Archive present in the Artifact artifacts 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 property is mandatoryrequired.

Artifacts

This operation will consume artifact artifacts (in the case that an Environment Variable File is provided). Operation The operation will look for the property file in the artifact within artifacts and use the file to update the Lambda Environment Variablesenvironment variables.

Endpoint Selection

This operation will select all available endpoints associated with the target.

...