auto.sh
LIST_FILE="s3li.txt"
while IFS= read -r line; do
echo "$line"
aws s3api get-public-access-block --bucket ${line} --output text
done < "$LIST_FILE"
aws cloudwatch list-metrics --namespace AWS/EC2 --metric-name NetworkIn --query "Metrics[].Dimensions[*].[Name, Value]" --output text