AWS SDK for C++  1.9.123
AWS SDK for C++
Public Member Functions | List of all members
Aws::GreengrassV2::Model::LambdaExecutionParameters Class Reference

#include <LambdaExecutionParameters.h>

Public Member Functions

 LambdaExecutionParameters ()
 
 LambdaExecutionParameters (Aws::Utils::Json::JsonView jsonValue)
 
LambdaExecutionParametersoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< LambdaEventSource > & GetEventSources () const
 
bool EventSourcesHasBeenSet () const
 
void SetEventSources (const Aws::Vector< LambdaEventSource > &value)
 
void SetEventSources (Aws::Vector< LambdaEventSource > &&value)
 
LambdaExecutionParametersWithEventSources (const Aws::Vector< LambdaEventSource > &value)
 
LambdaExecutionParametersWithEventSources (Aws::Vector< LambdaEventSource > &&value)
 
LambdaExecutionParametersAddEventSources (const LambdaEventSource &value)
 
LambdaExecutionParametersAddEventSources (LambdaEventSource &&value)
 
int GetMaxQueueSize () const
 
bool MaxQueueSizeHasBeenSet () const
 
void SetMaxQueueSize (int value)
 
LambdaExecutionParametersWithMaxQueueSize (int value)
 
int GetMaxInstancesCount () const
 
bool MaxInstancesCountHasBeenSet () const
 
void SetMaxInstancesCount (int value)
 
LambdaExecutionParametersWithMaxInstancesCount (int value)
 
int GetMaxIdleTimeInSeconds () const
 
bool MaxIdleTimeInSecondsHasBeenSet () const
 
void SetMaxIdleTimeInSeconds (int value)
 
LambdaExecutionParametersWithMaxIdleTimeInSeconds (int value)
 
int GetTimeoutInSeconds () const
 
bool TimeoutInSecondsHasBeenSet () const
 
void SetTimeoutInSeconds (int value)
 
LambdaExecutionParametersWithTimeoutInSeconds (int value)
 
int GetStatusTimeoutInSeconds () const
 
bool StatusTimeoutInSecondsHasBeenSet () const
 
void SetStatusTimeoutInSeconds (int value)
 
LambdaExecutionParametersWithStatusTimeoutInSeconds (int value)
 
bool GetPinned () const
 
bool PinnedHasBeenSet () const
 
void SetPinned (bool value)
 
LambdaExecutionParametersWithPinned (bool value)
 
const LambdaInputPayloadEncodingTypeGetInputPayloadEncodingType () const
 
bool InputPayloadEncodingTypeHasBeenSet () const
 
void SetInputPayloadEncodingType (const LambdaInputPayloadEncodingType &value)
 
void SetInputPayloadEncodingType (LambdaInputPayloadEncodingType &&value)
 
LambdaExecutionParametersWithInputPayloadEncodingType (const LambdaInputPayloadEncodingType &value)
 
LambdaExecutionParametersWithInputPayloadEncodingType (LambdaInputPayloadEncodingType &&value)
 
const Aws::Vector< Aws::String > & GetExecArgs () const
 
bool ExecArgsHasBeenSet () const
 
void SetExecArgs (const Aws::Vector< Aws::String > &value)
 
void SetExecArgs (Aws::Vector< Aws::String > &&value)
 
LambdaExecutionParametersWithExecArgs (const Aws::Vector< Aws::String > &value)
 
LambdaExecutionParametersWithExecArgs (Aws::Vector< Aws::String > &&value)
 
LambdaExecutionParametersAddExecArgs (const Aws::String &value)
 
LambdaExecutionParametersAddExecArgs (Aws::String &&value)
 
LambdaExecutionParametersAddExecArgs (const char *value)
 
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables () const
 
bool EnvironmentVariablesHasBeenSet () const
 
void SetEnvironmentVariables (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetEnvironmentVariables (Aws::Map< Aws::String, Aws::String > &&value)
 
LambdaExecutionParametersWithEnvironmentVariables (const Aws::Map< Aws::String, Aws::String > &value)
 
LambdaExecutionParametersWithEnvironmentVariables (Aws::Map< Aws::String, Aws::String > &&value)
 
LambdaExecutionParametersAddEnvironmentVariables (const Aws::String &key, const Aws::String &value)
 
LambdaExecutionParametersAddEnvironmentVariables (Aws::String &&key, const Aws::String &value)
 
LambdaExecutionParametersAddEnvironmentVariables (const Aws::String &key, Aws::String &&value)
 
LambdaExecutionParametersAddEnvironmentVariables (Aws::String &&key, Aws::String &&value)
 
LambdaExecutionParametersAddEnvironmentVariables (const char *key, Aws::String &&value)
 
LambdaExecutionParametersAddEnvironmentVariables (Aws::String &&key, const char *value)
 
LambdaExecutionParametersAddEnvironmentVariables (const char *key, const char *value)
 
const LambdaLinuxProcessParamsGetLinuxProcessParams () const
 
bool LinuxProcessParamsHasBeenSet () const
 
void SetLinuxProcessParams (const LambdaLinuxProcessParams &value)
 
void SetLinuxProcessParams (LambdaLinuxProcessParams &&value)
 
LambdaExecutionParametersWithLinuxProcessParams (const LambdaLinuxProcessParams &value)
 
LambdaExecutionParametersWithLinuxProcessParams (LambdaLinuxProcessParams &&value)
 

Detailed Description

Contains parameters for a Lambda function that runs on IoT Greengrass.

See Also:

AWS API Reference

Definition at line 37 of file LambdaExecutionParameters.h.

Constructor & Destructor Documentation

◆ LambdaExecutionParameters() [1/2]

Aws::GreengrassV2::Model::LambdaExecutionParameters::LambdaExecutionParameters ( )

◆ LambdaExecutionParameters() [2/2]

Aws::GreengrassV2::Model::LambdaExecutionParameters::LambdaExecutionParameters ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddEnvironmentVariables() [1/7]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::AddEnvironmentVariables ( Aws::String &&  key,
Aws::String &&  value 
)
inline

The map of environment variables that are available to the Lambda function when it runs.

Definition at line 426 of file LambdaExecutionParameters.h.

◆ AddEnvironmentVariables() [2/7]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::AddEnvironmentVariables ( Aws::String &&  key,
const Aws::String value 
)
inline

The map of environment variables that are available to the Lambda function when it runs.

Definition at line 414 of file LambdaExecutionParameters.h.

◆ AddEnvironmentVariables() [3/7]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::AddEnvironmentVariables ( Aws::String &&  key,
const char *  value 
)
inline

The map of environment variables that are available to the Lambda function when it runs.

Definition at line 438 of file LambdaExecutionParameters.h.

◆ AddEnvironmentVariables() [4/7]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::AddEnvironmentVariables ( const Aws::String key,
Aws::String &&  value 
)
inline

The map of environment variables that are available to the Lambda function when it runs.

Definition at line 420 of file LambdaExecutionParameters.h.

◆ AddEnvironmentVariables() [5/7]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::AddEnvironmentVariables ( const Aws::String key,
const Aws::String value 
)
inline

The map of environment variables that are available to the Lambda function when it runs.

Definition at line 408 of file LambdaExecutionParameters.h.

◆ AddEnvironmentVariables() [6/7]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::AddEnvironmentVariables ( const char *  key,
Aws::String &&  value 
)
inline

The map of environment variables that are available to the Lambda function when it runs.

Definition at line 432 of file LambdaExecutionParameters.h.

◆ AddEnvironmentVariables() [7/7]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::AddEnvironmentVariables ( const char *  key,
const char *  value 
)
inline

The map of environment variables that are available to the Lambda function when it runs.

Definition at line 444 of file LambdaExecutionParameters.h.

◆ AddEventSources() [1/2]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::AddEventSources ( const LambdaEventSource value)
inline

The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and Amazon Web Services IoT Core MQTT messages.

Definition at line 100 of file LambdaExecutionParameters.h.

◆ AddEventSources() [2/2]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::AddEventSources ( LambdaEventSource &&  value)
inline

The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and Amazon Web Services IoT Core MQTT messages.

Definition at line 108 of file LambdaExecutionParameters.h.

◆ AddExecArgs() [1/3]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::AddExecArgs ( Aws::String &&  value)
inline

The list of arguments to pass to the Lambda function when it runs.

Definition at line 360 of file LambdaExecutionParameters.h.

◆ AddExecArgs() [2/3]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::AddExecArgs ( const Aws::String value)
inline

The list of arguments to pass to the Lambda function when it runs.

Definition at line 355 of file LambdaExecutionParameters.h.

◆ AddExecArgs() [3/3]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::AddExecArgs ( const char *  value)
inline

The list of arguments to pass to the Lambda function when it runs.

Definition at line 365 of file LambdaExecutionParameters.h.

◆ EnvironmentVariablesHasBeenSet()

bool Aws::GreengrassV2::Model::LambdaExecutionParameters::EnvironmentVariablesHasBeenSet ( ) const
inline

The map of environment variables that are available to the Lambda function when it runs.

Definition at line 378 of file LambdaExecutionParameters.h.

◆ EventSourcesHasBeenSet()

bool Aws::GreengrassV2::Model::LambdaExecutionParameters::EventSourcesHasBeenSet ( ) const
inline

The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and Amazon Web Services IoT Core MQTT messages.

Definition at line 60 of file LambdaExecutionParameters.h.

◆ ExecArgsHasBeenSet()

bool Aws::GreengrassV2::Model::LambdaExecutionParameters::ExecArgsHasBeenSet ( ) const
inline

The list of arguments to pass to the Lambda function when it runs.

Definition at line 330 of file LambdaExecutionParameters.h.

◆ GetEnvironmentVariables()

const Aws::Map<Aws::String, Aws::String>& Aws::GreengrassV2::Model::LambdaExecutionParameters::GetEnvironmentVariables ( ) const
inline

The map of environment variables that are available to the Lambda function when it runs.

Definition at line 372 of file LambdaExecutionParameters.h.

◆ GetEventSources()

const Aws::Vector<LambdaEventSource>& Aws::GreengrassV2::Model::LambdaExecutionParameters::GetEventSources ( ) const
inline

The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and Amazon Web Services IoT Core MQTT messages.

Definition at line 52 of file LambdaExecutionParameters.h.

◆ GetExecArgs()

const Aws::Vector<Aws::String>& Aws::GreengrassV2::Model::LambdaExecutionParameters::GetExecArgs ( ) const
inline

The list of arguments to pass to the Lambda function when it runs.

Definition at line 325 of file LambdaExecutionParameters.h.

◆ GetInputPayloadEncodingType()

const LambdaInputPayloadEncodingType& Aws::GreengrassV2::Model::LambdaExecutionParameters::GetInputPayloadEncodingType ( ) const
inline

The encoding type that the Lambda function supports.

Default: json

Definition at line 289 of file LambdaExecutionParameters.h.

◆ GetLinuxProcessParams()

const LambdaLinuxProcessParams& Aws::GreengrassV2::Model::LambdaExecutionParameters::GetLinuxProcessParams ( ) const
inline

The parameters for the Linux process that contains the Lambda function.

Definition at line 450 of file LambdaExecutionParameters.h.

◆ GetMaxIdleTimeInSeconds()

int Aws::GreengrassV2::Model::LambdaExecutionParameters::GetMaxIdleTimeInSeconds ( ) const
inline

The maximum amount of time in seconds that a non-pinned Lambda function can idle before the IoT Greengrass Core software stops its process.

Definition at line 169 of file LambdaExecutionParameters.h.

◆ GetMaxInstancesCount()

int Aws::GreengrassV2::Model::LambdaExecutionParameters::GetMaxInstancesCount ( ) const
inline

The maximum number of instances that a non-pinned Lambda function can run at the same time.

Definition at line 144 of file LambdaExecutionParameters.h.

◆ GetMaxQueueSize()

int Aws::GreengrassV2::Model::LambdaExecutionParameters::GetMaxQueueSize ( ) const
inline

The maximum size of the message queue for the Lambda function component. The IoT Greengrass core stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.

Definition at line 116 of file LambdaExecutionParameters.h.

◆ GetPinned()

bool Aws::GreengrassV2::Model::LambdaExecutionParameters::GetPinned ( ) const
inline

Whether or not the Lambda function is pinned, or long-lived.

  • A pinned Lambda function starts when IoT Greengrass starts and keeps running in its own container.

  • A non-pinned Lambda function starts only when it receives a work item and exists after it idles for maxIdleTimeInSeconds. If the function has multiple work items, the IoT Greengrass Core software creates multiple instances of the function.

Default: true

Definition at line 249 of file LambdaExecutionParameters.h.

◆ GetStatusTimeoutInSeconds()

int Aws::GreengrassV2::Model::LambdaExecutionParameters::GetStatusTimeoutInSeconds ( ) const
inline

The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component.

Definition at line 219 of file LambdaExecutionParameters.h.

◆ GetTimeoutInSeconds()

int Aws::GreengrassV2::Model::LambdaExecutionParameters::GetTimeoutInSeconds ( ) const
inline

The maximum amount of time in seconds that the Lambda function can process a work item.

Definition at line 194 of file LambdaExecutionParameters.h.

◆ InputPayloadEncodingTypeHasBeenSet()

bool Aws::GreengrassV2::Model::LambdaExecutionParameters::InputPayloadEncodingTypeHasBeenSet ( ) const
inline

The encoding type that the Lambda function supports.

Default: json

Definition at line 295 of file LambdaExecutionParameters.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::GreengrassV2::Model::LambdaExecutionParameters::Jsonize ( ) const

◆ LinuxProcessParamsHasBeenSet()

bool Aws::GreengrassV2::Model::LambdaExecutionParameters::LinuxProcessParamsHasBeenSet ( ) const
inline

The parameters for the Linux process that contains the Lambda function.

Definition at line 455 of file LambdaExecutionParameters.h.

◆ MaxIdleTimeInSecondsHasBeenSet()

bool Aws::GreengrassV2::Model::LambdaExecutionParameters::MaxIdleTimeInSecondsHasBeenSet ( ) const
inline

The maximum amount of time in seconds that a non-pinned Lambda function can idle before the IoT Greengrass Core software stops its process.

Definition at line 175 of file LambdaExecutionParameters.h.

◆ MaxInstancesCountHasBeenSet()

bool Aws::GreengrassV2::Model::LambdaExecutionParameters::MaxInstancesCountHasBeenSet ( ) const
inline

The maximum number of instances that a non-pinned Lambda function can run at the same time.

Definition at line 150 of file LambdaExecutionParameters.h.

◆ MaxQueueSizeHasBeenSet()

bool Aws::GreengrassV2::Model::LambdaExecutionParameters::MaxQueueSizeHasBeenSet ( ) const
inline

The maximum size of the message queue for the Lambda function component. The IoT Greengrass core stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.

Definition at line 123 of file LambdaExecutionParameters.h.

◆ operator=()

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PinnedHasBeenSet()

bool Aws::GreengrassV2::Model::LambdaExecutionParameters::PinnedHasBeenSet ( ) const
inline

Whether or not the Lambda function is pinned, or long-lived.

  • A pinned Lambda function starts when IoT Greengrass starts and keeps running in its own container.

  • A non-pinned Lambda function starts only when it receives a work item and exists after it idles for maxIdleTimeInSeconds. If the function has multiple work items, the IoT Greengrass Core software creates multiple instances of the function.

Default: true

Definition at line 260 of file LambdaExecutionParameters.h.

◆ SetEnvironmentVariables() [1/2]

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetEnvironmentVariables ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

The map of environment variables that are available to the Lambda function when it runs.

Definition at line 390 of file LambdaExecutionParameters.h.

◆ SetEnvironmentVariables() [2/2]

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetEnvironmentVariables ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

The map of environment variables that are available to the Lambda function when it runs.

Definition at line 384 of file LambdaExecutionParameters.h.

◆ SetEventSources() [1/2]

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetEventSources ( Aws::Vector< LambdaEventSource > &&  value)
inline

The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and Amazon Web Services IoT Core MQTT messages.

Definition at line 76 of file LambdaExecutionParameters.h.

◆ SetEventSources() [2/2]

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetEventSources ( const Aws::Vector< LambdaEventSource > &  value)
inline

The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and Amazon Web Services IoT Core MQTT messages.

Definition at line 68 of file LambdaExecutionParameters.h.

◆ SetExecArgs() [1/2]

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetExecArgs ( Aws::Vector< Aws::String > &&  value)
inline

The list of arguments to pass to the Lambda function when it runs.

Definition at line 340 of file LambdaExecutionParameters.h.

◆ SetExecArgs() [2/2]

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetExecArgs ( const Aws::Vector< Aws::String > &  value)
inline

The list of arguments to pass to the Lambda function when it runs.

Definition at line 335 of file LambdaExecutionParameters.h.

◆ SetInputPayloadEncodingType() [1/2]

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetInputPayloadEncodingType ( const LambdaInputPayloadEncodingType value)
inline

The encoding type that the Lambda function supports.

Default: json

Definition at line 301 of file LambdaExecutionParameters.h.

◆ SetInputPayloadEncodingType() [2/2]

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetInputPayloadEncodingType ( LambdaInputPayloadEncodingType &&  value)
inline

The encoding type that the Lambda function supports.

Default: json

Definition at line 307 of file LambdaExecutionParameters.h.

◆ SetLinuxProcessParams() [1/2]

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetLinuxProcessParams ( const LambdaLinuxProcessParams value)
inline

The parameters for the Linux process that contains the Lambda function.

Definition at line 460 of file LambdaExecutionParameters.h.

◆ SetLinuxProcessParams() [2/2]

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetLinuxProcessParams ( LambdaLinuxProcessParams &&  value)
inline

The parameters for the Linux process that contains the Lambda function.

Definition at line 465 of file LambdaExecutionParameters.h.

◆ SetMaxIdleTimeInSeconds()

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetMaxIdleTimeInSeconds ( int  value)
inline

The maximum amount of time in seconds that a non-pinned Lambda function can idle before the IoT Greengrass Core software stops its process.

Definition at line 181 of file LambdaExecutionParameters.h.

◆ SetMaxInstancesCount()

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetMaxInstancesCount ( int  value)
inline

The maximum number of instances that a non-pinned Lambda function can run at the same time.

Definition at line 156 of file LambdaExecutionParameters.h.

◆ SetMaxQueueSize()

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetMaxQueueSize ( int  value)
inline

The maximum size of the message queue for the Lambda function component. The IoT Greengrass core stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.

Definition at line 130 of file LambdaExecutionParameters.h.

◆ SetPinned()

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetPinned ( bool  value)
inline

Whether or not the Lambda function is pinned, or long-lived.

  • A pinned Lambda function starts when IoT Greengrass starts and keeps running in its own container.

  • A non-pinned Lambda function starts only when it receives a work item and exists after it idles for maxIdleTimeInSeconds. If the function has multiple work items, the IoT Greengrass Core software creates multiple instances of the function.

Default: true

Definition at line 271 of file LambdaExecutionParameters.h.

◆ SetStatusTimeoutInSeconds()

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetStatusTimeoutInSeconds ( int  value)
inline

The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component.

Definition at line 231 of file LambdaExecutionParameters.h.

◆ SetTimeoutInSeconds()

void Aws::GreengrassV2::Model::LambdaExecutionParameters::SetTimeoutInSeconds ( int  value)
inline

The maximum amount of time in seconds that the Lambda function can process a work item.

Definition at line 206 of file LambdaExecutionParameters.h.

◆ StatusTimeoutInSecondsHasBeenSet()

bool Aws::GreengrassV2::Model::LambdaExecutionParameters::StatusTimeoutInSecondsHasBeenSet ( ) const
inline

The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component.

Definition at line 225 of file LambdaExecutionParameters.h.

◆ TimeoutInSecondsHasBeenSet()

bool Aws::GreengrassV2::Model::LambdaExecutionParameters::TimeoutInSecondsHasBeenSet ( ) const
inline

The maximum amount of time in seconds that the Lambda function can process a work item.

Definition at line 200 of file LambdaExecutionParameters.h.

◆ WithEnvironmentVariables() [1/2]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithEnvironmentVariables ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

The map of environment variables that are available to the Lambda function when it runs.

Definition at line 402 of file LambdaExecutionParameters.h.

◆ WithEnvironmentVariables() [2/2]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithEnvironmentVariables ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

The map of environment variables that are available to the Lambda function when it runs.

Definition at line 396 of file LambdaExecutionParameters.h.

◆ WithEventSources() [1/2]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithEventSources ( Aws::Vector< LambdaEventSource > &&  value)
inline

The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and Amazon Web Services IoT Core MQTT messages.

Definition at line 92 of file LambdaExecutionParameters.h.

◆ WithEventSources() [2/2]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithEventSources ( const Aws::Vector< LambdaEventSource > &  value)
inline

The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and Amazon Web Services IoT Core MQTT messages.

Definition at line 84 of file LambdaExecutionParameters.h.

◆ WithExecArgs() [1/2]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithExecArgs ( Aws::Vector< Aws::String > &&  value)
inline

The list of arguments to pass to the Lambda function when it runs.

Definition at line 350 of file LambdaExecutionParameters.h.

◆ WithExecArgs() [2/2]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithExecArgs ( const Aws::Vector< Aws::String > &  value)
inline

The list of arguments to pass to the Lambda function when it runs.

Definition at line 345 of file LambdaExecutionParameters.h.

◆ WithInputPayloadEncodingType() [1/2]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithInputPayloadEncodingType ( const LambdaInputPayloadEncodingType value)
inline

The encoding type that the Lambda function supports.

Default: json

Definition at line 313 of file LambdaExecutionParameters.h.

◆ WithInputPayloadEncodingType() [2/2]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithInputPayloadEncodingType ( LambdaInputPayloadEncodingType &&  value)
inline

The encoding type that the Lambda function supports.

Default: json

Definition at line 319 of file LambdaExecutionParameters.h.

◆ WithLinuxProcessParams() [1/2]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithLinuxProcessParams ( const LambdaLinuxProcessParams value)
inline

The parameters for the Linux process that contains the Lambda function.

Definition at line 470 of file LambdaExecutionParameters.h.

◆ WithLinuxProcessParams() [2/2]

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithLinuxProcessParams ( LambdaLinuxProcessParams &&  value)
inline

The parameters for the Linux process that contains the Lambda function.

Definition at line 475 of file LambdaExecutionParameters.h.

◆ WithMaxIdleTimeInSeconds()

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithMaxIdleTimeInSeconds ( int  value)
inline

The maximum amount of time in seconds that a non-pinned Lambda function can idle before the IoT Greengrass Core software stops its process.

Definition at line 187 of file LambdaExecutionParameters.h.

◆ WithMaxInstancesCount()

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithMaxInstancesCount ( int  value)
inline

The maximum number of instances that a non-pinned Lambda function can run at the same time.

Definition at line 162 of file LambdaExecutionParameters.h.

◆ WithMaxQueueSize()

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithMaxQueueSize ( int  value)
inline

The maximum size of the message queue for the Lambda function component. The IoT Greengrass core stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.

Definition at line 137 of file LambdaExecutionParameters.h.

◆ WithPinned()

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithPinned ( bool  value)
inline

Whether or not the Lambda function is pinned, or long-lived.

  • A pinned Lambda function starts when IoT Greengrass starts and keeps running in its own container.

  • A non-pinned Lambda function starts only when it receives a work item and exists after it idles for maxIdleTimeInSeconds. If the function has multiple work items, the IoT Greengrass Core software creates multiple instances of the function.

Default: true

Definition at line 282 of file LambdaExecutionParameters.h.

◆ WithStatusTimeoutInSeconds()

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithStatusTimeoutInSeconds ( int  value)
inline

The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component.

Definition at line 237 of file LambdaExecutionParameters.h.

◆ WithTimeoutInSeconds()

LambdaExecutionParameters& Aws::GreengrassV2::Model::LambdaExecutionParameters::WithTimeoutInSeconds ( int  value)
inline

The maximum amount of time in seconds that the Lambda function can process a work item.

Definition at line 212 of file LambdaExecutionParameters.h.


The documentation for this class was generated from the following file: