Interface CfnAnalyzer.ArchiveRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnalyzer.ArchiveRuleProperty.Jsii$Proxy
- Enclosing class:
CfnAnalyzer
@Stability(Stable)
public static interface CfnAnalyzer.ArchiveRuleProperty
extends software.amazon.jsii.JsiiSerializable
Contains information about an archive rule.
Archive rules automatically archive new findings that meet the criteria you define when you create the rule.
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.*;
ArchiveRuleProperty archiveRuleProperty = ArchiveRuleProperty.builder()
.filter(List.of(FilterProperty.builder()
.property("property")
// the properties below are optional
.contains(List.of("contains"))
.eq(List.of("eq"))
.exists(false)
.neq(List.of("neq"))
.build()))
.ruleName("ruleName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAnalyzer.ArchiveRulePropertystatic final classAn implementation forCfnAnalyzer.ArchiveRuleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The criteria for the rule.The name of the rule to create.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFilter
The criteria for the rule.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAnalyzer.FilterProperty>- See Also:
-
getRuleName
The name of the rule to create.- See Also:
-
builder
-