Skip to content

Instantly share code, notes, and snippets.

View AODBA's full-sized avatar
🎯
Focusing

AO AODBA

🎯
Focusing
View GitHub Profile
import boto3
import copy
table = "${destTableName}"
def handler(event, context):
// do some assume role stuff into another account here
// client = boto3.client('iam')
// response = client.assume_role(
// RoleArn=arn,
// RoleSessionName=username,
// DurationSeconds=timeout