Class EvaluationMode
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.config.EvaluationMode
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:40.987Z")
@Stability(Stable)
public class EvaluationMode
extends software.amazon.jsii.JsiiObject
The mode of evaluation for the rule.
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
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EvaluationMode
Evaluate resources that have already been deployed.static final EvaluationMode
Evaluate resources that have already been deployed and before they have been deployed.static final EvaluationMode
Evaluate resources before they have been deployed. -
Constructor Summary
ModifierConstructorDescriptionprotected
EvaluationMode
(List<String> modes) protected
EvaluationMode
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
EvaluationMode
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
DETECTIVE
Evaluate resources that have already been deployed. -
DETECTIVE_AND_PROACTIVE
Evaluate resources that have already been deployed and before they have been deployed. -
PROACTIVE
Evaluate resources before they have been deployed.
-
-
Constructor Details
-
EvaluationMode
protected EvaluationMode(software.amazon.jsii.JsiiObjectRef objRef) -
EvaluationMode
protected EvaluationMode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
EvaluationMode
- Parameters:
modes
- The modes of evaluation for the rule. This parameter is required.
-
-
Method Details
-
getModes
The modes of evaluation for the rule.
-