Skip to content

/AWS1/CL_LMWSERVICECONFIG

The service configuration for a web function revision, including execution role, timeout, concurrency, and telemetry settings.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_executionrolearn TYPE /AWS1/LMWROLEARN /AWS1/LMWROLEARN

The ARN of the IAM role that the web function assumes when it runs. This role provides permissions to access AWS services and resources.

Optional arguments:

iv_timeoutseconds TYPE /AWS1/LMWINTEGER /AWS1/LMWINTEGER

The amount of time (in seconds) that Lambda allows the web function to run before stopping it. Minimum value of 3, maximum value of 900. If you don't specify a value, the default is 30, and this default is returned in the response.

iv_maxconcrperenvironment TYPE /AWS1/LMWINTEGER /AWS1/LMWINTEGER

The maximum number of concurrent requests handled per execution environment. Minimum value of 1, maximum value of 128. If you don't specify a value, the default is 64, and this default is returned in the response.

it_environmentvariables TYPE /AWS1/CL_LMWENVVARIABLES_W=>TT_ENVIRONMENTVARIABLES TT_ENVIRONMENTVARIABLES

A map of environment variable key-value pairs available to the web function at runtime. Environment variable values are sensitive.

io_telemetryconfig TYPE REF TO /AWS1/CL_LMWTELEMETRYCONFIG /AWS1/CL_LMWTELEMETRYCONFIG

The telemetry configuration for the web function, including logging settings.


Queryable Attributes

executionRoleArn

The ARN of the IAM role that the web function assumes when it runs. This role provides permissions to access AWS services and resources.

Accessible with the following methods

Method Description
GET_EXECUTIONROLEARN() Getter for EXECUTIONROLEARN, with configurable default
ASK_EXECUTIONROLEARN() Getter for EXECUTIONROLEARN w/ exceptions if field has no va
HAS_EXECUTIONROLEARN() Determine if EXECUTIONROLEARN has a value

timeoutSeconds

The amount of time (in seconds) that Lambda allows the web function to run before stopping it. Minimum value of 3, maximum value of 900. If you don't specify a value, the default is 30, and this default is returned in the response.

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

maxConcurrencyPerEnvironment

The maximum number of concurrent requests handled per execution environment. Minimum value of 1, maximum value of 128. If you don't specify a value, the default is 64, and this default is returned in the response.

Accessible with the following methods

Method Description
GET_MAXCONCRPERENVIRONMENT() Getter for MAXCONCURRENCYPERENVIRONMENT, with configurable d
ASK_MAXCONCRPERENVIRONMENT() Getter for MAXCONCURRENCYPERENVIRONMENT w/ exceptions if fie
HAS_MAXCONCRPERENVIRONMENT() Determine if MAXCONCURRENCYPERENVIRONMENT has a value

environmentVariables

A map of environment variable key-value pairs available to the web function at runtime. Environment variable values are sensitive.

Accessible with the following methods

Method Description
GET_ENVIRONMENTVARIABLES() Getter for ENVIRONMENTVARIABLES, with configurable default
ASK_ENVIRONMENTVARIABLES() Getter for ENVIRONMENTVARIABLES w/ exceptions if field has n
HAS_ENVIRONMENTVARIABLES() Determine if ENVIRONMENTVARIABLES has a value

telemetryConfig

The telemetry configuration for the web function, including logging settings.

Accessible with the following methods

Method Description
GET_TELEMETRYCONFIG() Getter for TELEMETRYCONFIG