Interface CfnAnalyzerPropsMixin.ArchiveRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnalyzerPropsMixin.ArchiveRuleProperty.Jsii$Proxy
- Enclosing class:
CfnAnalyzerPropsMixin
@Stability(Stable)
public static interface CfnAnalyzerPropsMixin.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.cfnpropertymixins.services.accessanalyzer.*;
ArchiveRuleProperty archiveRuleProperty = ArchiveRuleProperty.builder()
.filter(List.of(FilterProperty.builder()
.contains(List.of("contains"))
.eq(List.of("eq"))
.exists(false)
.neq(List.of("neq"))
.property("property")
.build()))
.ruleName("ruleName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAnalyzerPropsMixin.ArchiveRulePropertystatic final classAn implementation forCfnAnalyzerPropsMixin.ArchiveRuleProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFilter
The criteria for the rule.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAnalyzerPropsMixin.FilterProperty>- See Also:
-
getRuleName
The name of the rule to create.- See Also:
-
builder
-