Skip to content

Instantly share code, notes, and snippets.

View hansohn's full-sized avatar

Ryan Hansohn hansohn

  • Orange County, CA
View GitHub Profile
@gene1wood
gene1wood / log_aws_lambda_event_and_context.py
Last active June 27, 2023 04:33
A python AWS Lambda function which logs the contents of the event and context variables passed into the function.
from __future__ import unicode_literals
import logging
import json
logger = logging.getLogger(__name__)
logging.getLogger().setLevel(logging.INFO)
class PythonObjectEncoder(json.JSONEncoder):
"""Custom JSON Encoder that allows encoding of un-serializable objects
@colinvh
colinvh / aws.md
Last active July 22, 2024 10:24
AWS Region Names

Alternative naming schemes for AWS regions

Purpose

The intent is to define terse, standards-supported names for AWS regions.

Schemes