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 2 Current »

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

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.

Inputs

Input Name

Input Code

Type

Required

Description

Additional Arguments

FDAWS_LAMBDA_INP_ADD_ENV_VAR_ADDITIONAL_ARG

String

No

Literal key-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

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 given, then the path will be considered relative and operation will search the file in the artifacts directory. If no file is found in the artifacts directory with given path, then it will check for the file in Archive present in the artifacts directory.

KMS Detail

FDAWS_LAMBDA_KMS_KEY_OR_ARN

String

No*

Key Id or Key ARN details.

*For any secured variables, this property is required.

Artifacts

This operation will consume artifacts (in the case that an Environment Variable File is provided). The operation will look for the property file within artifacts 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