Class CfnAnalyzer.Builder
java.lang.Object
software.amazon.awscdk.services.accessanalyzer.CfnAnalyzer.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalyzer>
- Enclosing class:
CfnAnalyzer
@Stability(Stable)
public static final class CfnAnalyzer.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalyzer>
A fluent builder for
CfnAnalyzer.-
Method Summary
Modifier and TypeMethodDescriptionanalyzerConfiguration(IResolvable analyzerConfiguration) Contains information about the configuration of an analyzer for an AWS organization or account.analyzerConfiguration(CfnAnalyzer.AnalyzerConfigurationProperty analyzerConfiguration) Contains information about the configuration of an analyzer for an AWS organization or account.analyzerName(String analyzerName) The name of the analyzer.archiveRules(List<? extends Object> archiveRules) Specifies the archive rules to add for the analyzer.archiveRules(IResolvable archiveRules) Specifies the archive rules to add for the analyzer.build()static CfnAnalyzer.BuilderAn array of key-value pairs to apply to the analyzer.The type represents the zone of trust for the analyzer.
-
Method Details
-
create
@Stability(Stable) public static CfnAnalyzer.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAnalyzer.Builder.
-
type
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
- Parameters:
type- The type represents the zone of trust for the analyzer. This parameter is required.- Returns:
this- See Also:
-
analyzerConfiguration
@Stability(Stable) public CfnAnalyzer.Builder analyzerConfiguration(IResolvable analyzerConfiguration) Contains information about the configuration of an analyzer for an AWS organization or account.- Parameters:
analyzerConfiguration- Contains information about the configuration of an analyzer for an AWS organization or account. This parameter is required.- Returns:
this- See Also:
-
analyzerConfiguration
@Stability(Stable) public CfnAnalyzer.Builder analyzerConfiguration(CfnAnalyzer.AnalyzerConfigurationProperty analyzerConfiguration) Contains information about the configuration of an analyzer for an AWS organization or account.- Parameters:
analyzerConfiguration- Contains information about the configuration of an analyzer for an AWS organization or account. This parameter is required.- Returns:
this- See Also:
-
analyzerName
The name of the analyzer.- Parameters:
analyzerName- The name of the analyzer. This parameter is required.- Returns:
this- See Also:
-
archiveRules
Specifies the archive rules to add for the analyzer.Archive rules automatically archive findings that meet the criteria you define for the rule.
- Parameters:
archiveRules- Specifies the archive rules to add for the analyzer. This parameter is required.- Returns:
this- See Also:
-
archiveRules
Specifies the archive rules to add for the analyzer.Archive rules automatically archive findings that meet the criteria you define for the rule.
- Parameters:
archiveRules- Specifies the archive rules to add for the analyzer. This parameter is required.- Returns:
this- See Also:
-
tags
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.
- Parameters:
tags- An array of key-value pairs to apply to the analyzer. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalyzer>- Returns:
- a newly built instance of
CfnAnalyzer.
-