Team & Onboarding Basics
9 examples to get a new AWS SDK specialist through their first week - 6 basic and 3 intermediate.
Busca en todas las páginas de la documentación
9 examples to get a new AWS SDK specialist through their first week - 6 basic and 3 intermediate.
pip install boto3, or Node.js 18+ with npm install @aws-sdk/client-sts, depending on which SDK the team uses.The first ticket in onboarding should request a role in a sandbox account, not production credentials.
AdministratorAccess.Related: Onboarding an AWS SDK Specialist - why sandbox-first access matters.
Once access is granted, configure a named profile so every later command and SDK call points at the sandbox account.
aws configure sso --profile sandbox
# SSO session name, start URL, region, and account/role selection--profile sandbox keeps this identity separate from any other profile on the machine.aws sso login --profile sandbox refreshes the session when it expires.Before writing any code, confirm the CLI can authenticate as the sandbox identity.
aws sts get-caller-identity --profile sandbox
# { "Account": "111122223333", "Arn": "arn:aws:sts::...:assumed-role/..." }Three short sections on this site cover everything needed before writing SDK code.
Related: these three sections are generic reading, not specific pages - browse each section's basics page first.
Confirm the whole chain works end to end with a single, safe call.
# --- Python (boto3) ---
import boto3
session = boto3.Session(profile_name="sandbox")
sts = session.client("sts")
identity = sts.get_caller_identity() # read-only, safe in any account
print(identity["Account"])// --- TypeScript (AWS SDK v3) ---
import { STSClient, GetCallerIdentityCommand } from "@aws-sdk/client-sts";
import { fromSSO } from "@aws-sdk/credential-providers";
const sts = new STSClient({ credentials: fromSSO({ profile: "sandbox" }) });
const identity = await sts.send(new GetCallerIdentityCommand({}));
console.log(identity.Account);Access and setup are only half of week one. The other half is understanding how this team reviews AWS-facing code.
sdk-rules section for the general rules).The first real PR should be small, read-only or low-impact, and reviewed by someone senior on the team.
Some teams run Python services and a Node.js/TypeScript frontend or Lambda layer side by side.
Sandbox accounts stay useful only if they stay clean.
Related: Sandbox Accounts & Safe Experimentation - the account model this habit protects.
Stack versions: This page was written for boto3 1.43.x (Python 3.10+) and the AWS SDK for JavaScript v3 (Node.js 18+).
Revisado por Chris St. John·Última actualización: 25 jul 2026