public static final class CfnAlarmModel.DynamoDBProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAlarmModel.DynamoDBProperty
CfnAlarmModel.DynamoDBProperty
CfnAlarmModel.DynamoDBProperty.Builder, CfnAlarmModel.DynamoDBProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getHashKeyField()
The name of the hash key (also called the partition key).
|
java.lang.String |
getHashKeyType()
The data type for the hash key (also called the partition key).
|
java.lang.String |
getHashKeyValue()
The value of the hash key (also called the partition key).
|
java.lang.String |
getOperation()
The type of operation to perform.
|
java.lang.Object |
getPayload()
Information needed to configure the payload.
|
java.lang.String |
getPayloadField()
The name of the DynamoDB column that receives the action payload.
|
java.lang.String |
getRangeKeyField()
The name of the range key (also called the sort key).
|
java.lang.String |
getRangeKeyType()
The data type for the range key (also called the sort key), You can specify the following values:.
|
java.lang.String |
getRangeKeyValue()
The value of the range key (also called the sort key).
|
java.lang.String |
getTableName()
The name of the DynamoDB table.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getHashKeyField()
CfnAlarmModel.DynamoDBProperty
The hashKeyField
value must match the partition key of the target DynamoDB table.
getHashKeyField
in interface CfnAlarmModel.DynamoDBProperty
public final java.lang.String getHashKeyValue()
CfnAlarmModel.DynamoDBProperty
getHashKeyValue
in interface CfnAlarmModel.DynamoDBProperty
public final java.lang.String getTableName()
CfnAlarmModel.DynamoDBProperty
The tableName
value must match the table name of the target DynamoDB table.
getTableName
in interface CfnAlarmModel.DynamoDBProperty
public final java.lang.String getHashKeyType()
CfnAlarmModel.DynamoDBProperty
'STRING'
- The hash key is a string.'NUMBER'
- The hash key is a number.
If you don't specify hashKeyType
, the default value is 'STRING'
.
getHashKeyType
in interface CfnAlarmModel.DynamoDBProperty
public final java.lang.String getOperation()
CfnAlarmModel.DynamoDBProperty
'INSERT'
- Insert data as a new item into the DynamoDB table. This item uses the specified hash key as a partition key. If you specified a range key, the item uses the range key as a sort key.'UPDATE'
- Update an existing item of the DynamoDB table with new data. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.'DELETE'
- Delete an existing item of the DynamoDB table. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.
If you don't specify this parameter, AWS IoT Events triggers the 'INSERT'
operation.
getOperation
in interface CfnAlarmModel.DynamoDBProperty
public final java.lang.Object getPayload()
CfnAlarmModel.DynamoDBProperty
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
.
getPayload
in interface CfnAlarmModel.DynamoDBProperty
public final java.lang.String getPayloadField()
CfnAlarmModel.DynamoDBProperty
If you don't specify this parameter, the name of the DynamoDB column is payload
.
getPayloadField
in interface CfnAlarmModel.DynamoDBProperty
public final java.lang.String getRangeKeyField()
CfnAlarmModel.DynamoDBProperty
The rangeKeyField
value must match the sort key of the target DynamoDB table.
getRangeKeyField
in interface CfnAlarmModel.DynamoDBProperty
public final java.lang.String getRangeKeyType()
CfnAlarmModel.DynamoDBProperty
'STRING'
- The range key is a string.'NUMBER'
- The range key is number.
If you don't specify rangeKeyField
, the default value is 'STRING'
.
getRangeKeyType
in interface CfnAlarmModel.DynamoDBProperty
public final java.lang.String getRangeKeyValue()
CfnAlarmModel.DynamoDBProperty
getRangeKeyValue
in interface CfnAlarmModel.DynamoDBProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()