Enum RequestMetricsStatus

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

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-31T09:54:53.943Z") @Stability(Experimental) public enum RequestMetricsStatus extends Enum<RequestMetricsStatus>
(experimental) Controls whether CloudWatch request metrics are enabled or disabled for the table bucket.

Example:

 // Enable CloudWatch request metrics for the table bucket
 TableBucket tableBucketWithMetrics = TableBucket.Builder.create(scope, "TableBucketWithMetrics")
         .tableBucketName("metrics-enabled-bucket")
         .requestMetricsStatus(RequestMetricsStatus.ENABLED)
         .build();
 
  • Enum Constant Details

    • ENABLED

      @Stability(Experimental) public static final RequestMetricsStatus ENABLED
      (experimental) Enable CloudWatch request metrics for the table bucket.
    • DISABLED

      @Stability(Experimental) public static final RequestMetricsStatus DISABLED
      (experimental) Disable CloudWatch request metrics for the table bucket.
  • Method Details

    • values

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