Class CfnDetectorModel.DynamoDBProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iotevents.CfnDetectorModel.DynamoDBProperty.Jsii$Proxy
All Implemented Interfaces:
CfnDetectorModel.DynamoDBProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnDetectorModel.DynamoDBProperty

@Stability(Stable) @Internal public static final class CfnDetectorModel.DynamoDBProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDetectorModel.DynamoDBProperty
An implementation for CfnDetectorModel.DynamoDBProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnDetectorModel.DynamoDBProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnDetectorModel.DynamoDBProperty.Builder.
  • Method Details

    • getHashKeyField

      public final String getHashKeyField()
      Description copied from interface: CfnDetectorModel.DynamoDBProperty
      The name of the hash key (also called the partition key).

      The hashKeyField value must match the partition key of the target DynamoDB table.

      Specified by:
      getHashKeyField in interface CfnDetectorModel.DynamoDBProperty
    • getHashKeyValue

      public final String getHashKeyValue()
      Description copied from interface: CfnDetectorModel.DynamoDBProperty
      The value of the hash key (also called the partition key).
      Specified by:
      getHashKeyValue in interface CfnDetectorModel.DynamoDBProperty
    • getTableName

      public final String getTableName()
      Description copied from interface: CfnDetectorModel.DynamoDBProperty
      The name of the DynamoDB table.

      The tableName value must match the table name of the target DynamoDB table.

      Specified by:
      getTableName in interface CfnDetectorModel.DynamoDBProperty
    • getHashKeyType

      public final String getHashKeyType()
      Description copied from interface: CfnDetectorModel.DynamoDBProperty
      The data type for the hash key (also called the partition key). You can specify the following values:.

      • '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' .

      Specified by:
      getHashKeyType in interface CfnDetectorModel.DynamoDBProperty
    • getOperation

      public final String getOperation()
      Description copied from interface: CfnDetectorModel.DynamoDBProperty
      The type of operation to perform. You can specify the following values:.

      • '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.

      Specified by:
      getOperation in interface CfnDetectorModel.DynamoDBProperty
    • getPayload

      public final Object getPayload()
      Description copied from interface: CfnDetectorModel.DynamoDBProperty
      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 .

      Specified by:
      getPayload in interface CfnDetectorModel.DynamoDBProperty
    • getPayloadField

      public final String getPayloadField()
      Description copied from interface: CfnDetectorModel.DynamoDBProperty
      The name of the DynamoDB column that receives the action payload.

      If you don't specify this parameter, the name of the DynamoDB column is payload .

      Specified by:
      getPayloadField in interface CfnDetectorModel.DynamoDBProperty
    • getRangeKeyField

      public final String getRangeKeyField()
      Description copied from interface: CfnDetectorModel.DynamoDBProperty
      The name of the range key (also called the sort key).

      The rangeKeyField value must match the sort key of the target DynamoDB table.

      Specified by:
      getRangeKeyField in interface CfnDetectorModel.DynamoDBProperty
    • getRangeKeyType

      public final String getRangeKeyType()
      Description copied from interface: CfnDetectorModel.DynamoDBProperty
      The data type for the range key (also called the sort key), You can specify the following values:.

      • 'STRING' - The range key is a string.
      • 'NUMBER' - The range key is number.

      If you don't specify rangeKeyField , the default value is 'STRING' .

      Specified by:
      getRangeKeyType in interface CfnDetectorModel.DynamoDBProperty
    • getRangeKeyValue

      public final String getRangeKeyValue()
      Description copied from interface: CfnDetectorModel.DynamoDBProperty
      The value of the range key (also called the sort key).
      Specified by:
      getRangeKeyValue in interface CfnDetectorModel.DynamoDBProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object