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();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription1 hour.6 hours.3 hours.12 hours.24 hours. -
Method Summary
Modifier and TypeMethodDescriptionstatic MaximumExecutionFrequency
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.
-
Enum Constant Details
-
ONE_HOUR
1 hour. -
THREE_HOURS
3 hours. -
SIX_HOURS
6 hours. -
TWELVE_HOURS
12 hours. -
TWENTY_FOUR_HOURS
24 hours.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-