@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:28:02.568Z") public enum MaximumExecutionFrequency extends java.lang.Enum<MaximumExecutionFrequency>
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 and Description |
---|
ONE_HOUR
1 hour.
|
SIX_HOURS
6 hours.
|
THREE_HOURS
3 hours.
|
TWELVE_HOURS
12 hours.
|
TWENTY_FOUR_HOURS
24 hours.
|
Modifier and Type | Method and Description |
---|---|
static MaximumExecutionFrequency |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MaximumExecutionFrequency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaximumExecutionFrequency ONE_HOUR
public static final MaximumExecutionFrequency THREE_HOURS
public static final MaximumExecutionFrequency SIX_HOURS
public static final MaximumExecutionFrequency TWELVE_HOURS
public static final MaximumExecutionFrequency TWENTY_FOUR_HOURS
public static MaximumExecutionFrequency[] values()
for (MaximumExecutionFrequency c : MaximumExecutionFrequency.values()) System.out.println(c);
public static MaximumExecutionFrequency valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null