When you select a bucket, on the right hand side under the events menu, you can just add / edit / remove lambda events easily. See the examples below:
Category: AWS
Executing some shell in ec2 instance remotely
just call it by:
ssh -i your.pem ec2-user@yourserver ~/./yourfile.sh
install telnet client on aws
sudo yum -y install telnet
Rsync to AWS
rsync -rave “ssh -i /your.pem” some.file ec2-user@yourec2machine:~
Accessing AWS ElastiCache
For Redis, I couldn’t access to Redis from outside AWS, but can access it from EC2 or other platforms. #ReminderForMyself
by the way :
Please note that IP-range based access control is currently not enabled for Cache Clusters. All clients to a Cache Cluster must be within the EC2 network, and authorized via security groups as described above.