Enum StreamViewType

java.lang.Object
java.lang.Enum<StreamViewType>
software.amazon.awscdk.services.dynamodb.StreamViewType
All Implemented Interfaces:
Serializable, Comparable<StreamViewType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:42.288Z") @Stability(Stable) public enum StreamViewType extends Enum<StreamViewType>
When an item in the table is modified, StreamViewType determines what information is written to the stream for this table.

See Also:
  • Enum Constant Details

    • NEW_IMAGE

      @Stability(Stable) public static final StreamViewType NEW_IMAGE
      The entire item, as it appears after it was modified, is written to the stream.
    • OLD_IMAGE

      @Stability(Stable) public static final StreamViewType OLD_IMAGE
      The entire item, as it appeared before it was modified, is written to the stream.
    • NEW_AND_OLD_IMAGES

      @Stability(Stable) public static final StreamViewType NEW_AND_OLD_IMAGES
      Both the new and the old item images of the item are written to the stream.
    • KEYS_ONLY

      @Stability(Stable) public static final StreamViewType KEYS_ONLY
      Only the key attributes of the modified item are written to the stream.
  • Method Details

    • values

      public static StreamViewType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static StreamViewType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null