AWSLambdaCreateFunctionRequest Class Reference

Inherits from AWSRequest : AWSModel : AWSMTLModel
Declared in AWSLambdaModel.h
AWSLambdaModel.m

  code

The code for the function.

@property (nonatomic, strong) AWSLambdaFunctionCode *code

Declared In

AWSLambdaModel.h

  deadLetterConfig

A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead Letter Queues.

@property (nonatomic, strong) AWSLambdaDeadLetterConfig *deadLetterConfig

Declared In

AWSLambdaModel.h

  detail

A description of the function.

@property (nonatomic, strong) NSString *detail

Declared In

AWSLambdaModel.h

  environment

Environment variables that are accessible from function code during execution.

@property (nonatomic, strong) AWSLambdaEnvironment *environment

Declared In

AWSLambdaModel.h

  functionName

The name of the lambda function.

Name formats

  • Function name - [code](#//api/name/code)MyFunction.

  • Function ARN - [code](#//api/name/code)arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Partial ARN - [code](#//api/name/code)123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

@property (nonatomic, strong) NSString *functionName

Declared In

AWSLambdaModel.h

  handler

The name of the method within your code that Lambda calls to execute your function. For more information, see Programming Model.

@property (nonatomic, strong) NSString *handler

Declared In

AWSLambdaModel.h

  KMSKeyArn

The ARN of the KMS key used to encrypt your function's environment variables. If not provided, AWS Lambda will use a default service key.

@property (nonatomic, strong) NSString *KMSKeyArn

Declared In

AWSLambdaModel.h

  memorySize

The amount of memory that your function has access to. Increasing the function's memory also increases it's CPU allocation. The default value is 128 MB. The value must be a multiple of 64 MB.

@property (nonatomic, strong) NSNumber *memorySize

Declared In

AWSLambdaModel.h

  publish

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

@property (nonatomic, strong) NSNumber *publish

Declared In

AWSLambdaModel.h

  role

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

@property (nonatomic, strong) NSString *role

Declared In

AWSLambdaModel.h

  runtime

The runtime version for the function.

@property (nonatomic, assign) AWSLambdaRuntime runtime

Declared In

AWSLambdaModel.h

  tags

The list of tags (key-value pairs) assigned to the new function. For more information, see Tagging Lambda Functions in the AWS Lambda Developer Guide.

@property (nonatomic, strong) NSDictionary<NSString*NSString*> *tags

Declared In

AWSLambdaModel.h

  timeout

The amount of time that Lambda allows a function to run before terminating it. The default is 3 seconds. The maximum allowed value is 900 seconds.

@property (nonatomic, strong) NSNumber *timeout

Declared In

AWSLambdaModel.h

  tracingConfig

Set [code](#//api/name/code)Mode to [code](#//api/name/code)Active to sample and trace a subset of incoming requests with AWS X-Ray.

@property (nonatomic, strong) AWSLambdaTracingConfig *tracingConfig

Declared In

AWSLambdaModel.h

  vpcConfig

If your Lambda function accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.

@property (nonatomic, strong) AWSLambdaVpcConfig *vpcConfig

Declared In

AWSLambdaModel.h