Exemples d'utilisation de Lambda function must en Anglais et leurs traductions en Français
{-}
-
Colloquial
-
Official
When called, your Lambda function must respond within 5 seconds.
For example, if the repository is in US East(Ohio)(us-east-2),the Amazon SNS topic or Lambda function must be in US East Ohio.
Note that when defining the virtual field, the lambda function must qualify fields with the database name, but in the links argument, this is not necessary.
This is necessary because input to a Lambda function in the Lambda function must be expressed in the body.
However, with the Lambda proxy integration, the Lambda function must return a result of this output format for API Gateway to successfully map the integration response to a method response.
For API Gateway to pass the Lambda output as the API response to the client, the Lambda function must return the result in this format.
If you want to actually control the mail flow, your Lambda function must be invoked synchronously(that is, using the RequestResponse invocation type) and your Lambda function must call the callback method with two arguments: the first argument is null, and the second argument is a disposition property that is set to either STOP_RULE, STOP_RULE_SET, or CONTINUE.
To add triggers,the IAM execution role associated with your Lambda function must be assumable by the service principals lambda.
For more information about the input andoutput formats that this type of Lambda function must follow, see Input Format of a Lambda Function for Proxy Integration and Output Format of a Lambda Function for Proxy Integration.
With the Lambda proxy integration, the Lambda function must return output of the following format.
For API Gateway to map the Lambda output to HTTP responses successfully, the Lambda function must output the result in the format described in Output Format of a Lambda Function for Proxy Integration.
In addition to returning an IAM policy, the Lambda authorizer function must also return the caller's principal identifier.
For example, to call a Lambda function, you must include the following IAM permissions policy in the IAM role.
When a CloudFront event triggers the execution of a Lambda function, the function must finish before CloudFront can continue.
When you create a stack with a Lambda function, you must specify the location of the Amazon S3 bucket that contains the function's source code.
If the API uses a usage plan(the apiKeySource is set to AUTHORIZER), the Lambda authorizer function must return one of the usage plan's API keys as the usageIdentifierKey property value.
To invoke an API in API Gateway that is related to an existing Lambda function, you must first import the remote version of the function into your AWS Cloud9 development environment, if the function isn't already there.
For a workflow to schedule a Lambda function, you must provide the name of the IAM role that provides Amazon SWF with permission to invoke Lambda functions.
Q: Why must AWS Lambda functions be stateless?
Show less Q:Why must AWS Lambda functions be stateless?.