Interface ManagedRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,RuleProps
- All Known Implementing Classes:
ManagedRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-10-26T00:56:06.054Z")
@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.- See Also:
-
builder
- Returns:
- a
ManagedRuleProps.BuilderofManagedRuleProps
-