Interface CfnArchiveRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnArchiveRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:01.897Z")
@Stability(Stable)
public interface CfnArchiveRuleProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnArchiveRule.
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.*;
CfnArchiveRuleProps cfnArchiveRuleProps = CfnArchiveRuleProps.builder()
.analyzerName("analyzerName")
.filter(Map.of(
"filterKey", FilterItemsProperty.builder()
.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 forCfnArchiveRulePropsstatic final classAn implementation forCfnArchiveRuleProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnArchiveRuleProps.Builderbuilder()The name of the analyzer for the archive rule.The criteria for the archive rule.The name of the archive rule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAnalyzerName
The name of the analyzer for the archive rule.- See Also:
-
getFilter
The criteria for the archive rule.A map of filter criteria property names to their criterion values.
Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnArchiveRule.FilterItemsProperty>- See Also:
-
getRuleName
The name of the archive rule.- See Also:
-
builder
- Returns:
- a
CfnArchiveRuleProps.BuilderofCfnArchiveRuleProps
-