I have a simple python script that I want to run as lambda function:
import boto3
from datetime import datetime, timedelta
get_last_modified = lambda obj: obj['SnapshotCreateTime'].timestamp()
rds_client = boto3.client('rds')
objs = rds_client.describe_db_cluster_snapshots(DBClusterIdentifier='db-cluster')['DBClusterSnapshots']
print(objs)
Usually in linux I will have the .aws/config file that contains the auth key and token. Where do add fill this values with lambda?