Interface CfnAnalyzerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnalyzerProps.Jsii$Proxy
CfnAnalyzer.
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.*;
CfnAnalyzerProps cfnAnalyzerProps = CfnAnalyzerProps.builder()
.type("type")
// the properties below are optional
.analyzerConfiguration(AnalyzerConfigurationProperty.builder()
.internalAccessConfiguration(InternalAccessConfigurationProperty.builder()
.internalAccessAnalysisRule(InternalAccessAnalysisRuleProperty.builder()
.inclusions(List.of(InternalAccessAnalysisRuleCriteriaProperty.builder()
.accountIds(List.of("accountIds"))
.resourceArns(List.of("resourceArns"))
.resourceTypes(List.of("resourceTypes"))
.build()))
.build())
.build())
.unusedAccessConfiguration(UnusedAccessConfigurationProperty.builder()
.analysisRule(AnalysisRuleProperty.builder()
.exclusions(List.of(AnalysisRuleCriteriaProperty.builder()
.accountIds(List.of("accountIds"))
.resourceTags(List.of(List.of(CfnTag.builder()
.key("key")
.value("value")
.build())))
.build()))
.build())
.unusedAccessAge(123)
.build())
.build())
.analyzerName("analyzerName")
.archiveRules(List.of(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()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAnalyzerPropsstatic final classAn implementation forCfnAnalyzerProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAnalyzerProps.Builderbuilder()default ObjectContains information about the configuration of an analyzer for an AWS organization or account.default StringThe name of the analyzer.default ObjectSpecifies the archive rules to add for the analyzer.getTags()An array of key-value pairs to apply to the analyzer.getType()The type represents the zone of trust for the analyzer.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The type represents the zone of trust for the analyzer.Allowed Values : ACCOUNT | ORGANIZATION | ACCOUNT_UNUSED_ACCESS | ACCOUNT_INTERNAL_ACCESS | ORGANIZATION_INTERNAL_ACCESS | ORGANIZATION_UNUSED_ACCESS
- See Also:
-
getAnalyzerConfiguration
Contains information about the configuration of an analyzer for an AWS organization or account.Returns union: either
IResolvableorCfnAnalyzer.AnalyzerConfigurationProperty- See Also:
-
getAnalyzerName
The name of the analyzer.- See Also:
-
getArchiveRules
Specifies the archive rules to add for the analyzer.Archive rules automatically archive findings that meet the criteria you define for the rule.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAnalyzer.ArchiveRuleProperty>- See Also:
-
getTags
An array of key-value pairs to apply to the analyzer.You can use the set of Unicode letters, digits, whitespace,
_,.,/,=,+, and-.For the tag key, you can specify a value that is 1 to 128 characters in length and cannot be prefixed with
aws:.For the tag value, you can specify a value that is 0 to 256 characters in length.
- See Also:
-
builder
- Returns:
- a
CfnAnalyzerProps.BuilderofCfnAnalyzerProps
-