Interface CfnAnalyzer.FilterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnalyzer.FilterProperty.Jsii$Proxy
- Enclosing class:
CfnAnalyzer
@Stability(Stable)
public static interface CfnAnalyzer.FilterProperty
extends software.amazon.jsii.JsiiSerializable
The criteria that defines the rule.
To learn about filter keys that you can use to create an archive rule, see filter keys in the User Guide .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.accessanalyzer.*; FilterProperty filterProperty = FilterProperty.builder() .property("property") // the properties below are optional .contains(List.of("contains")) .eq(List.of("eq")) .exists(false) .neq(List.of("neq")) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAnalyzer.FilterProperty
static final class
An implementation forCfnAnalyzer.FilterProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A "contains" condition to match for the rule.getEq()
An "equals" condition to match for the rule.default Object
An "exists" condition to match for the rule.getNeq()
A "not equal" condition to match for the rule.The property used to define the criteria in the filter for the rule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getProperty
The property used to define the criteria in the filter for the rule. -
getContains
A "contains" condition to match for the rule. -
getEq
An "equals" condition to match for the rule. -
getExists
An "exists" condition to match for the rule. -
getNeq
A "not equal" condition to match for the rule. -
builder
- Returns:
- a
CfnAnalyzer.FilterProperty.Builder
ofCfnAnalyzer.FilterProperty
-