Class CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.accessanalyzer.CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty>
- Enclosing interface:
CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty
@Stability(Stable)
public static final class CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountIds(List<String> accountIds) build()Builds the configured instance.resourceArns(List<String> resourceArns) resourceTypes(List<String> resourceTypes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountIds
@Stability(Stable) public CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty.Builder accountIds(List<String> accountIds) - Parameters:
accountIds- A list of AWS account IDs to apply to the internal access analysis rule criteria. Account IDs can only be applied to the analysis rule criteria for organization-level analyzers.- Returns:
this
-
resourceArns
@Stability(Stable) public CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty.Builder resourceArns(List<String> resourceArns) Sets the value ofCfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty.getResourceArns()- Parameters:
resourceArns- A list of resource ARNs to apply to the internal access analysis rule criteria. The analyzer will only generate findings for resources that match these ARNs.- Returns:
this
-
resourceTypes
@Stability(Stable) public CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty.Builder resourceTypes(List<String> resourceTypes) Sets the value ofCfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty.getResourceTypes()- Parameters:
resourceTypes- A list of resource types to apply to the internal access analysis rule criteria. The analyzer will only generate findings for resources of these types. These resource types are currently supported for internal access analyzers:AWS::S3::BucketAWS::RDS::DBSnapshotAWS::RDS::DBClusterSnapshotAWS::S3Express::DirectoryBucketAWS::DynamoDB::TableAWS::DynamoDB::Stream
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty>- Returns:
- a new instance of
CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty - Throws:
NullPointerException- if any required attribute was not provided
-