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:
just call it by:
ssh -i your.pem ec2-user@yourserver ~/./yourfile.sh
sudo yum -y install telnet
rsync -rave “ssh -i /your.pem” some.file ec2-user@yourec2machine:~
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.