PutItem PutItem

type: "io.kestra.plugin.aws.dynamodb.PutItem"

Put an item into a DynamoDB table, if it already exist the element will be updated.

# Examples

Put an item from a map.

id: "put_item"
type: "io.kestra.plugin.aws.dynamodb.PutItem"
tableName: "persons"
item:
  id: 1
  firstname: "John"
  lastname: "Doe"

Put an item from a JSON string.

id: "put_item"
type: "io.kestra.plugin.aws.dynamodb.PutItem"
tableName: "persons"
item: "{{ outputs.task_id.data | json }}"

# Properties

# accessKeyId

  • Type: string
  • Dynamic: ✔️
  • Required:

The Access Key Id in order to connect to AWS

If no connection is defined, we will use default DefaultCredentialsProvider that will try to guess the value

# endpointOverride

  • Type: string
  • Dynamic: ✔️
  • Required:

The endpoint with which the SDK should communicate.

Should normally not be used except for local development.

# item

  • Type: object
  • Dynamic: ✔️
  • Required:

The DynamoDB item.

Can be a JSON string, or a map.

# region

  • Type: string
  • Dynamic: ✔️
  • Required:

The region with which the SDK should communicate.

# secretKeyId

  • Type: string
  • Dynamic: ✔️
  • Required:

The Secret Key Id in order to connect to AWS

If no connection is defined, we will use default DefaultCredentialsProvider that will try to guess the value

# sessionToken

  • Type: string
  • Dynamic: ✔️
  • Required:

The he AWS session token, retrieved from an AWS token service, used for authenticating that this user has received temporary permission to access some resource.

If no connection is defined, we will use default DefaultCredentialsProvider that will try to guess the value

# tableName

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The DynamoDB table name.