Class: Aws::IoTEvents::Types::DynamoDBv2Action

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb

Overview

Note:

When making an API call, you may pass DynamoDBv2Action data as a hash:

{
  table_name: "DynamoTableName", # required
  payload: {
    content_expression: "ContentExpression", # required
    type: "STRING", # required, accepts STRING, JSON
  },
}

Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can also customize the payload. A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify.

The type value for Payload must be JSON.

You can use expressions for parameters that are strings. For more information, see Expressions in the AWS IoT Events Developer Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#payloadTypes::Payload

Information needed to configure the payload.

By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use contentExpression.

Returns:



1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 1994

class DynamoDBv2Action < Struct.new(
  :table_name,
  :payload)
  SENSITIVE = []
  include Aws::Structure
end

#table_nameString

The name of the DynamoDB table.

Returns:

  • (String)


1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 1994

class DynamoDBv2Action < Struct.new(
  :table_name,
  :payload)
  SENSITIVE = []
  include Aws::Structure
end