This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ env python3.11 | |
# This script will send messages to an SQS queue | |
import boto3 | |
import json | |
import random | |
from datetime import datetime | |
from botocore.exceptions import ClientError | |
import string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ env python3.11 | |
import boto3 | |
import random | |
import string | |
from datetime import datetime | |
from botocore.exceptions import ClientError | |
import logging | |
# create a sqs connection |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3.11 | |
# list all files, directories and subdirectories's files in a given directory source of help for this | |
# from stackoverflow: https://stackoverflow.com/questions/2909975/python-list-directory-subdirectory-and-files | |
# this function will not print out with formatted keys and values instead the keys are the path of the file | |
# and the values are the name of the file | |
def list_files_recursive(directory, files, recursive_dictionary): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3.11 | |
""" | |
Empty List initially to be filled with some of the AWS services | |
i.e. S3, DynamoDB, EC2, CloudFront, SAM, etc. | |
""" | |
ListServices = [] | |
""" | |
Manually fill our list of services using the .append method followed by print |
NewerOlder