Enum MaximumExecutionFrequency

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:48.625Z") @Stability(Stable) public enum MaximumExecutionFrequency extends Enum<MaximumExecutionFrequency>
The maximum frequency at which the AWS Config rule runs evaluations.

Example:

 // https://docs.aws.amazon.com/config/latest/developerguide/access-keys-rotated.html
 // https://docs.aws.amazon.com/config/latest/developerguide/access-keys-rotated.html
 ManagedRule.Builder.create(this, "AccessKeysRotated")
         .identifier(ManagedRuleIdentifiers.ACCESS_KEYS_ROTATED)
         .inputParameters(Map.of(
                 "maxAccessKeyAge", 60))
         // default is 24 hours
         .maximumExecutionFrequency(MaximumExecutionFrequency.TWELVE_HOURS)
         .build();
 
  • Enum Constant Details

  • Method Details

    • values

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