@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.755Z") @Stability(value=Stable) public enum MaximumExecutionFrequency extends 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(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.
|
@Stability(value=Stable) public static final MaximumExecutionFrequency ONE_HOUR
@Stability(value=Stable) public static final MaximumExecutionFrequency THREE_HOURS
@Stability(value=Stable) public static final MaximumExecutionFrequency SIX_HOURS
@Stability(value=Stable) public static final MaximumExecutionFrequency TWELVE_HOURS
@Stability(value=Stable) public static final MaximumExecutionFrequency TWENTY_FOUR_HOURS
public static MaximumExecutionFrequency[] values()
for (MaximumExecutionFrequency c : MaximumExecutionFrequency.values()) System.out.println(c);
public static MaximumExecutionFrequency valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.