Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Paws::Lambda::CreateFuUseroContributed Perl DocPaws::Lambda::CreateFunction(3)

NAME
       Paws::Lambda::CreateFunction - Arguments	for method CreateFunction on
       Paws::Lambda

DESCRIPTION
       This class represents the parameters used for calling the method
       CreateFunction on the AWS Lambda	service. Use the attributes of this
       class as	arguments to method CreateFunction.

       You shouln't make instances of this class. Each attribute should	be
       used as a named argument	in the call to CreateFunction.

       As an example:

	 $service_obj->CreateFunction(Att1 => $value1, Att2 => $value2,	...);

       Values for attributes that are native types (Int, String, Float,	etc)
       can passed as-is	(scalar	values). Values	for complex Types (objects)
       can be passed as	a HashRef. The keys and	values of the hashref will be
       used to instance	the underlying object.

ATTRIBUTES
   REQUIRED Code => Paws::Lambda::FunctionCode
       The code	for the	Lambda function.

   Description => Str
       A short,	user-defined function description. Lambda does not use this
       value. Assign a meaningful description as you see fit.

   REQUIRED FunctionName => Str
       The name	you want to assign to the function you are uploading. You can
       specify an unqualified function name (for example, "Thumbnail") or you
       can specify Amazon Resource Name	(ARN) of the function (for example,
       "arn:aws:lambda:us-west-2:account-id:function:ThumbNail"). AWS Lambda
       also allows you to specify only the account ID qualifier	(for example,
       "account-id:Thumbnail").	Note that the length constraint	applies	only
       to the ARN. If you specify only the function name, it is	limited	to 64
       character in length. The	function names appear in the console and are
       returned	in the ListFunctions API. Function names are used to specify
       functions to other AWS Lambda APIs, such	as Invoke.

   REQUIRED Handler => Str
       The function within your	code that Lambda calls to begin	execution. For
       Node.js,	it is the module-name.export value in your function. For Java,
       it can be "package.class-name::handler" or "package.class-name".	For
       more information, see Lambda Function Handler (Java).

   MemorySize => Int
       The amount of memory, in	MB, your Lambda	function is given. Lambda uses
       this memory size	to infer the amount of CPU and memory allocated	to
       your function. Your function use-case determines	your CPU and memory
       requirements. For example, a database operation might need less memory
       compared	to an image processing function. The default value is 128 MB.
       The value must be a multiple of 64 MB.

   REQUIRED Role => Str
       The Amazon Resource Name	(ARN) of the IAM role that Lambda assumes when
       it executes your	function to access any other Amazon Web	Services (AWS)
       resources. For more information,	see AWS	Lambda:	How it Works

   REQUIRED Runtime => Str
       The runtime environment for the Lambda function you are uploading.
       Currently, Lambda supports "java" and "nodejs" as the runtime.

   Timeout => Int
       The function execution time at which Lambda should terminate the
       function. Because the execution time has	cost implications, we
       recommend you set this value based on your expected execution time. The
       default is 3 seconds.

SEE ALSO
       This class forms	part of	Paws, documenting arguments for	method
       CreateFunction in Paws::Lambda

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

perl v5.24.1			  2015-08-06   Paws::Lambda::CreateFunction(3)

NAME | DESCRIPTION | ATTRIBUTES | SEE ALSO | BUGS and CONTRIBUTIONS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Paws::Lambda::CreateFunction&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help