Skip to content

/AWS1/CL_BDOHARNHOOKLAMBDATGT

The configuration for an AWS Lambda hook target.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_arn TYPE /AWS1/BDOHARNESSLAMBDAFUNCARN /AWS1/BDOHARNESSLAMBDAFUNCARN

The ARN of the Lambda function to invoke.

Optional arguments:

iv_timeoutseconds TYPE /AWS1/BDOINTEGER /AWS1/BDOINTEGER

The maximum number of seconds to wait for the Lambda function response. The default is 60 seconds.

iv_failuremode TYPE /AWS1/BDOHARNHOOKFAILUREMODE /AWS1/BDOHARNHOOKFAILUREMODE

The behavior when the Lambda function times out, returns an error, or returns an invalid response. The default is DENY.


Queryable Attributes

arn

The ARN of the Lambda function to invoke.

Accessible with the following methods

Method Description
GET_ARN() Getter for ARN, with configurable default
ASK_ARN() Getter for ARN w/ exceptions if field has no value
HAS_ARN() Determine if ARN has a value

timeoutSeconds

The maximum number of seconds to wait for the Lambda function response. The default is 60 seconds.

Accessible with the following methods

Method Description
GET_TIMEOUTSECONDS() Getter for TIMEOUTSECONDS, with configurable default
ASK_TIMEOUTSECONDS() Getter for TIMEOUTSECONDS w/ exceptions if field has no valu
HAS_TIMEOUTSECONDS() Determine if TIMEOUTSECONDS has a value

failureMode

The behavior when the Lambda function times out, returns an error, or returns an invalid response. The default is DENY.

Accessible with the following methods

Method Description
GET_FAILUREMODE() Getter for FAILUREMODE, with configurable default
ASK_FAILUREMODE() Getter for FAILUREMODE w/ exceptions if field has no value
HAS_FAILUREMODE() Determine if FAILUREMODE has a value