Interface ManagedRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,RuleProps
- All Known Implementing Classes:
ManagedRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.624Z")
@Stability(Stable)
public interface ManagedRuleProps
extends software.amazon.jsii.JsiiSerializable, RuleProps
Construction properties for a ManagedRule.
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 ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forManagedRuleProps
static final class
An implementation forManagedRuleProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ManagedRuleProps.Builder
builder()
The identifier of the AWS managed rule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.config.RuleProps
getConfigRuleName, getDescription, getInputParameters, getMaximumExecutionFrequency, getRuleScope
-
Method Details
-
getIdentifier
The identifier of the AWS managed rule. -
builder
- Returns:
- a
ManagedRuleProps.Builder
ofManagedRuleProps
-