You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::DynamoDBv2Action
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::DynamoDBv2Action
- Defined in:
- (unknown)
Overview
When passing DynamoDBv2Action as input to an Aws::Client method, you can use a vanilla Hash:
{
role_arn: "AwsArn", # required
put_item: { # required
table_name: "TableName", # required
},
}
Describes an action to write to a DynamoDB table.
This DynamoDB action writes each attribute in the message payload into it's own column in the DynamoDB table.
Returned by:
Instance Attribute Summary collapse
-
#put_item ⇒ Types::PutItemInput
Specifies the DynamoDB table to which the message data will be written.
-
#role_arn ⇒ String
The ARN of the IAM role that grants access to the DynamoDB table.
Instance Attribute Details
#put_item ⇒ Types::PutItemInput
Specifies the DynamoDB table to which the message data will be written. For example:
{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": {
"tableName": "my-table" } } }
Each attribute in the message payload will be written to a separate column in the DynamoDB database.
#role_arn ⇒ String
The ARN of the IAM role that grants access to the DynamoDB table.