Hierarchy

  • UpdateOptions

Properties

conditionExpression?: string

DynamoDB Condition Expression

expressionAttributeNames?: Record<string, string>

DynamoDB Expression Attribute Names for Update and/or Condition Expression

expressionAttributeValues?: DynamoDBValues

DynamoDB Expression Attribute Values for Update and/or Condition Expression

ttl?: number

Absolute TTL value on record, if TTL attribute configured for table

ttlInFutureDays?: number

Sets TTL value on record with a relative value - now + number of days in the future If the ttl attribute is set then this value is ignored DynamoDB only guarantees TTL cleanup precision within a few days, so more precision here is unnecessary

update?: {
    add?: string;
    delete?: string;
    remove?: string;
    set?: string;
}

Update Expression, with each of the 4 possible clauses broken out

Type declaration

  • Optional add?: string
  • Optional delete?: string
  • Optional remove?: string
  • Optional set?: string

See

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.UpdateExpressions.html

Default

No update expression set. This is only valid if the update is only used for updating the TTL value

Generated using TypeDoc