Lambda timeout connecting to S3
I have an S3 bucket in Account A and a lambda function in Account B. I want the lambda to read the contents from the bucket, so have assigned the appropriate permissions to the IAM role and added that IAM…
I have an S3 bucket in Account A and a lambda function in Account B. I want the lambda to read the contents from the bucket, so have assigned the appropriate permissions to the IAM role and added that IAM…
How do I configure a redshift lambda UDF to batch requests? On this page Creating a scalar Lambda UDF - Amazon Redshift it says in the note section: You can configure batching of multiple invocations of your Lambda function to…
I am trying to use the available phone number API in order to claim and attach a contact flow. I tried following the documentation provided by AWS for python. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connect.html#Connect.Client.search_available_phone_numbers when I try to use it, it gives the following…
I'm posting data to a DynamoDB table with axios in a React front-end. The API is set up through a serverless configuration with an API Gateway and Lambda on AWS. While the request goes through and I see the added…
I'm trying to extract data from trust advisor through lambda function and upload to s3. Some part of the function executes the append module on the data. However, that module block throws error. That specific block is try: check_summary =…
I'm new to AWS CDK and I'm trying to set up lambda with few AWS managed policies. Lambda configuration, this.lambdaFunction = new Function(this, 'LambdaName', { functionName: 'LambdaName', description: `Timestamp: ${new Date().toISOString()} `, code: ..., handler: '...', memorySize: 512, timeout: Duration.seconds(30),…
Please Help i want to add more instance under instance_id.I have Two more instance where i want to run the commands.Instance ID like i-0e946552448dgsd , i-0e946258789itrs.How to add both the IDs under instance_id So that the command can be run…
I´m trying to do the following: when I upload a file in my s3 storage, the lambda picks this json file and converts it into a csv file. How can I specify in the lambda code which file must pick?…
I have a lambda function that I wanted to run everyday at sunset. I tried using eventbridge to trigger it every day and then used time.sleep() to wait until sunset, but it turns out lambda functions timeout after at most…
I'm trying to trigger several lambdas in parallel from another lambda. I'm using aiobotocore and this works fine locally but when I try to run it on AWSLambda, I have an error on the import modules: Unable to import module…