Interface ManagedRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,RuleProps
- All Known Implementing Classes:
ManagedRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:16.554Z")
@Stability(Stable)
public interface ManagedRuleProps
extends software.amazon.jsii.JsiiSerializable, RuleProps
Construction properties for a ManagedRule.
Example:
Function fn; String samplePolicyText; ManagedRule.Builder.create(this, "ManagedRule") .identifier(ManagedRuleIdentifiers.API_GW_XRAY_ENABLED) .evaluationModes(EvaluationMode.DETECTIVE_AND_PROACTIVE) .build(); CustomRule.Builder.create(this, "CustomRule") .lambdaFunction(fn) .evaluationModes(EvaluationMode.PROACTIVE) .build(); CustomPolicy.Builder.create(this, "CustomPolicy") .policyText(samplePolicyText) .evaluationModes(EvaluationMode.DETECTIVE) .build();
-
Nested Class Summary
Modifier 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, getEvaluationModes, getInputParameters, getMaximumExecutionFrequency, getRuleScope
-
Method Details
-
getIdentifier
The identifier of the AWS managed rule.- See Also:
-
builder
- Returns:
- a
ManagedRuleProps.Builder
ofManagedRuleProps
-