Home Reference Source Test

Variable

Static Public Summary
public

The AWS Region that this Lambda function is currently executing in.

public

Retrieves the name of the AWS Lambda function from the Lambda execution environment variables.

public

Determines the level of logging that the function will output.

public

This schema defines the keys, properties and valid values that can be included inside the UserParameters key when defining the use of this action inside CodePipeline.

Static Public

public AWS_REGION: String source

import {AWS_REGION} from 'pipeline-transfer/functions/globals.js'

The AWS Region that this Lambda function is currently executing in.

Note: This is normally populated by the Lambda execution environment.

public FUNCTION_NAME: String source

Retrieves the name of the AWS Lambda function from the Lambda execution environment variables.

public LOG_LEVEL: String source

import {LOG_LEVEL} from 'pipeline-transfer/functions/globals.js'

Determines the level of logging that the function will output. This enables us to reduce the amount of "noise" generated by a battle-tested function, whilst enabling us to output additional logging on a new version.

Setting process.env.LOG_LEVEL will overwrite the default value of "info" for this variable.

public Schema: Object source

This schema defines the keys, properties and valid values that can be included inside the UserParameters key when defining the use of this action inside CodePipeline.