Skip to content
masterclass Buddy

AWS Services · Class

PutItemCommand

Create a DynamoDB item with an expiration timestamp using an AWS SDK. The examples store TTL-related times as epoch seconds.

Last updated

Syntax

new PutItemCommand({ TableName, Item })

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • PutItem
  • DynamoDBClient
  • PutItemCommand
  • AttributeValue
  • expireAt
  • createdAt

Source: Create a DynamoDB item with a TTL using an AWS SDK. Checked 2026-11-03.