automating AWS with Python using boto3 library
Create the credentials file. By default, its location is at ~/.aws/credentials:
[default] aws_access_key_id = YOUR_ACCESS_KEY aws_secret_access_key = YOUR_SECRET_KEY
You may also want to set a default region. This can be done in the configuration file. By default, its location is at ~/.aws/config:
You can automate this script using crontab in linux. I don't know about windows and mac but you can surely google it.