The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Greengrass::FunctionConfiguration

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Greengrass::FunctionConfiguration object:

  $service_obj->Method(Att1 => { EncodingType => $value, ..., Timeout => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Greengrass::FunctionConfiguration object:

  $result = $service_obj->Method(...);
  $result->Att1->EncodingType

DESCRIPTION

The configuration of the Lambda function.

ATTRIBUTES

EncodingType => Str

The expected encoding type of the input payload for the function. The default is ''json''.

Environment => Paws::Greengrass::FunctionConfigurationEnvironment

The environment configuration of the function.

ExecArgs => Str

The execution arguments.

Executable => Str

The name of the function executable.

MemorySize => Int

The memory size, in KB, which the function requires. This setting is not applicable and should be cleared when you run the Lambda function without containerization.

Pinned => Bool

True if the function is pinned. Pinned means the function is long-lived and starts when the core starts.

Timeout => Int

The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned Lambda functions for each request.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Greengrass

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues