I hereby claim:
- I am reecestart on github.
- I am reecestart (https://keybase.io/reecestart) on keybase.
- I have a public key ASD96G7e5AWoI7kYirqOOtSoOTvm4lH1AMO_tC2Poky-qQo
To claim this, I am signing this object:
aws iam update-account-password-policy --minimum-password-length 8 --require-numbers --require-uppercase-characters --require-lowercase-characters --require-symbols |
import boto3 | |
# Define the connection | |
client = boto3.client('ec2') | |
# Get all Regions | |
response = client.describe_regions() | |
# Create an Array for Region Names | |
RegionNames = [] |
import boto3 | |
from datetime import date | |
from datetime import datetime | |
today = date.today() | |
today = datetime.combine(today, datetime.min.time()) | |
client = boto3.client('s3') | |
# Get all buckets | |
response = client.list_buckets() |
import boto3 | |
from botocore.exceptions import ClientError | |
class bcolors: | |
OKGREEN = '\033[92m' | |
WARNING = '\033[93m' | |
FAIL = '\033[91m' | |
ENDC = '\033[0m' | |
pricingclient = boto3.client('pricing', region_name='us-east-1') |
{ | |
"Version": "2012-10-17", | |
"Id": "Key policy created by CloudTrail", | |
"Statement": [ | |
{ | |
"Sid": "Enable IAM User Permissions", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": [ | |
"arn:aws:iam::012345678901:root", |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "AWSCloudTrailAclCheck20150319", | |
"Effect": "Allow", | |
"Principal": { | |
"Service": "cloudtrail.amazonaws.com" | |
}, | |
"Action": "s3:GetBucketAcl", |
I hereby claim:
To claim this, I am signing this object:
import ast | |
import boto3 | |
from botocore.exceptions import ClientError | |
pricingclient = boto3.client('pricing', region_name='us-east-1') | |
paginator = pricingclient.get_paginator('get_attribute_values') | |
response_iterator = paginator.paginate( | |
ServiceCode='AmazonEC2', |