Enum ContributorInsightsMode

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

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-08-27T16:10:21.453Z") @Stability(Stable) public enum ContributorInsightsMode extends Enum<ContributorInsightsMode>
DynamoDB's Contributor Insights Mode.

Example:

 TableV2 table = TableV2.Builder.create(this, "Table")
         .partitionKey(Attribute.builder().name("pk").type(AttributeType.STRING).build())
         .contributorInsightsSpecification(ContributorInsightsSpecification.builder()
                 .enabled(true)
                 .mode(ContributorInsightsMode.ACCESSED_AND_THROTTLED_KEYS)
                 .build())
         .build();
 

See Also:
  • Enum Constant Details

    • ACCESSED_AND_THROTTLED_KEYS

      @Stability(Stable) public static final ContributorInsightsMode ACCESSED_AND_THROTTLED_KEYS
      Emits metrics for all read and write requests, whether successful or throttled.
    • THROTTLED_KEYS

      @Stability(Stable) public static final ContributorInsightsMode THROTTLED_KEYS
      Emits metrics for read and write requests that were throttled.
  • Method Details

    • values

      public static ContributorInsightsMode[] 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 ContributorInsightsMode 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