AWS Lambda S3 Trigger Configuration using AWS CLI : A Step-by-Step Guide

AWS CLI By Dec 25, 2022 No Comments

To set up an Amazon S3 trigger for an AWS Lambda function using the AWS CLI, you can use the aws lambda add-permission and aws s3api put-bucket-notification-configuration commands. First, you will need to grant permission for the S3 bucket to invoke the Lambda function using the aws lambda add-permission command: This will grant permission for the my-bucket S3 bucket to…

How to create AWS QuickSight DataSource with AWS CLI

Here are the AWS CLI commands to create a QuickSight data source: 1- First, create a JSON file with the input parameters for the create-data-source command. For example, if you want to create a Redshift data source, the JSON file might look like this: 2- Save the JSON file as a variable, such as $data_source_params. 3- Run the create-data-source command,…