Java com.amazonaws.services.lambda.model CreateFunctionRequest fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.lambda.model CreateFunctionRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.lambda.model CreateFunctionRequest.

The text is from its open source code.

Constructor

Method

voidsetCode(FunctionCode code)

The code for the function.

voidsetDescription(String description)

A description of the function.

voidsetFunctionName(String functionName)

The name of the Lambda function.

voidsetHandler(String handler)

The name of the method within your code that Lambda calls to execute your function.

voidsetMemorySize(Integer memorySize)

The amount of memory that your function has access to.

voidsetPublish(Boolean publish)

Set to true to publish the first version of the function during creation.

voidsetRole(String role)

The Amazon Resource Name (ARN) of the function's execution role.

voidsetRuntime(String runtime)

The identifier of the function's runtime.

voidsetRuntime(Runtime runtime)

The identifier of the function's runtime.

voidsetTags(java.util.Map tags)

A list of tags to apply to the function.

voidsetTimeout(Integer timeout)

The amount of time that Lambda allows a function to run before stopping it.