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 classA builder forManagedRulePropsstatic final classAn implementation forManagedRuleProps -
Method Summary
Modifier and TypeMethodDescriptionstatic ManagedRuleProps.Builderbuilder()The identifier of the AWS managed rule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods 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.BuilderofManagedRuleProps
-