Paws::Lambda::UpdateFunctionConfiguration - Arguments for method UpdateFunctionConfiguration on Paws::Lambda
This class represents the parameters used for calling the method UpdateFunctionConfiguration on the AWS Lambda service. Use the attributes of this class as arguments to method UpdateFunctionConfiguration.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateFunctionConfiguration.
my $lambda = Paws->service('Lambda'); # To update a Lambda function's configuration # This operation updates a Lambda function's configuration my $FunctionConfiguration = $lambda->UpdateFunctionConfiguration( 'Description' => '', 'FunctionName' => 'myFunction', 'Handler' => 'index.handler', 'MemorySize' => 128, 'Role' => 'arn:aws:iam::123456789012:role/lambda_basic_execution', 'Runtime' => 'python2.7', 'Timeout' => 123, 'VpcConfig' => { } ); # Results: my $CodeSha256 = $FunctionConfiguration->CodeSha256; my $CodeSize = $FunctionConfiguration->CodeSize; my $Description = $FunctionConfiguration->Description; my $FunctionArn = $FunctionConfiguration->FunctionArn; my $FunctionName = $FunctionConfiguration->FunctionName; my $Handler = $FunctionConfiguration->Handler; my $LastModified = $FunctionConfiguration->LastModified; my $MemorySize = $FunctionConfiguration->MemorySize; my $Role = $FunctionConfiguration->Role; my $Runtime = $FunctionConfiguration->Runtime; my $Timeout = $FunctionConfiguration->Timeout; my $Version = $FunctionConfiguration->Version; my $VpcConfig = $FunctionConfiguration->VpcConfig; # Returns a L<Paws::Lambda::FunctionConfiguration> object.
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. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/lambda/UpdateFunctionConfiguration
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 (http://docs.aws.amazon.com/lambda/latest/dg/dlq.html).
A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful description as you see fit.
The parent object that contains your environment's configuration settings.
The name of the Lambda function.
Name formats
Function name - my-function.
my-function
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
arn:aws:lambda:us-west-2:123456789012:function:my-function
Partial ARN - 123456789012:function:my-function.
123456789012:function:my-function
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
The function that Lambda calls to begin executing your function. For Node.js, it is the module-name.export value in your function.
module-name.export
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If you elect to use the AWS Lambda default service key, pass in an empty string ("") for this parameter.
A list of function layers (http://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) to add to the function's execution environment.
The amount of memory, in MB, your Lambda function is given. AWS Lambda uses this memory size to infer the amount of CPU 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.
Only update the function if the revision ID matches the ID specified. Use this option to avoid modifying a function that has changed since you last read it.
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
The runtime version for the function.
Valid values are: "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "java8", "python2.7", "python3.6", "python3.7", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "provided"
"nodejs"
"nodejs4.3"
"nodejs6.10"
"nodejs8.10"
"java8"
"python2.7"
"python3.6"
"python3.7"
"dotnetcore1.0"
"dotnetcore2.0"
"dotnetcore2.1"
"nodejs4.3-edge"
"go1.x"
"ruby2.5"
"provided"
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.
Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray.
Mode
Active
Specify security groups and subnets in a VPC to which your Lambda function needs access.
This class forms part of Paws, documenting arguments for method UpdateFunctionConfiguration in Paws::Lambda
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
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.