Aan de slagGa gratis aan de slag

Using the AWS SDK in a Lambda handler

You are a backend developer at CloudConnect Corp. Your team uses Lambda functions to coordinate work across AWS services via the AWS SDK (boto3 in Python). Before a function can interact with any service, it needs the correct SDK calls and the right IAM permissions.

In this exercise, you'll create a function that uses boto3 to call STS and retrieve the function's own identity — a quick way to verify the SDK works and see which execution role the function assumed.

Deze oefening maakt deel uit van de cursus

Serverless Applications with AWS Lambda

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen