Class CfnAnalyzerPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.accessanalyzer.CfnAnalyzerPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalyzerPropsMixin>
- Enclosing class:
CfnAnalyzerPropsMixin
@Stability(Stable)
public static final class CfnAnalyzerPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalyzerPropsMixin>
A fluent builder for
CfnAnalyzerPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionanalyzerConfiguration(CfnAnalyzerPropsMixin.AnalyzerConfigurationProperty analyzerConfiguration) Contains information about the configuration of an analyzer for an AWS organization or account.analyzerConfiguration(IResolvable 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()create()create(CfnPropertyMixinOptions options) An 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 CfnAnalyzerPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAnalyzerPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAnalyzerPropsMixin.Builder.
-
analyzerConfiguration
@Stability(Stable) public CfnAnalyzerPropsMixin.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 CfnAnalyzerPropsMixin.Builder analyzerConfiguration(CfnAnalyzerPropsMixin.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
@Stability(Stable) public CfnAnalyzerPropsMixin.Builder archiveRules(List<? extends Object> 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:
-
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:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalyzerPropsMixin>- Returns:
- a newly built instance of
CfnAnalyzerPropsMixin.
-