Show / Hide Table of Contents

Class CfnTopicRule.DynamoDBv2ActionProperty

Describes an action to write to a DynamoDB table.

Inheritance
System.Object
CfnTopicRule.DynamoDBv2ActionProperty
Implements
CfnTopicRule.IDynamoDBv2ActionProperty
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.AWS.IoT.dll
Syntax (csharp)
public class DynamoDBv2ActionProperty : Object, CfnTopicRule.IDynamoDBv2ActionProperty
Syntax (vb)
Public Class DynamoDBv2ActionProperty
    Inherits Object
    Implements CfnTopicRule.IDynamoDBv2ActionProperty
Remarks

This DynamoDB action writes each attribute in the message payload into it's own column in the DynamoDB table.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbv2action.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;

var dynamoDBv2ActionProperty = new DynamoDBv2ActionProperty {
    PutItem = new PutItemInputProperty {
        TableName = "tableName"
    },
    RoleArn = "roleArn"
};

Synopsis

Constructors

DynamoDBv2ActionProperty()

Properties

PutItem

Specifies the DynamoDB table to which the message data will be written. For example:.

RoleArn

The ARN of the IAM role that grants access to the DynamoDB table.

Constructors

DynamoDBv2ActionProperty()

public DynamoDBv2ActionProperty()

Properties

PutItem

Specifies the DynamoDB table to which the message data will be written. For example:.

public object PutItem { get; set; }
Property Value

System.Object

Remarks

{ "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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbv2action.html#cfn-iot-topicrule-dynamodbv2action-putitem

RoleArn

The ARN of the IAM role that grants access to the DynamoDB table.

public string RoleArn { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbv2action.html#cfn-iot-topicrule-dynamodbv2action-rolearn

Implements

CfnTopicRule.IDynamoDBv2ActionProperty
Back to top Generated by DocFX