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.119.0 (build 1634eac)",
date="2025-11-13T16:10:01.752Z")
@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
FieldsModifier and TypeFieldDescriptionstatic final EvaluationModeEvaluate resources that have already been deployed.static final EvaluationModeEvaluate resources that have already been deployed and before they have been deployed.static final EvaluationModeEvaluate resources before they have been deployed. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEvaluationMode(List<String> modes) protectedEvaluationMode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedEvaluationMode(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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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.
-