Class CfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty.Builder
java.lang.Object
software.amazon.awscdk.services.accessanalyzer.CfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty>
- Enclosing interface:
CfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty
@Stability(Stable)
public static final class CfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty>
A builder for
CfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountIds
(List<String> accountIds) Sets the value ofCfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty.getAccountIds()
build()
Builds the configured instance.resourceArns
(List<String> resourceArns) Sets the value ofCfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty.getResourceArns()
resourceTypes
(List<String> resourceTypes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountIds
@Stability(Stable) public CfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty.Builder accountIds(List<String> accountIds) Sets the value ofCfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty.getAccountIds()
- 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 CfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty.Builder resourceArns(List<String> resourceArns) Sets the value ofCfnAnalyzer.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 CfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty.Builder resourceTypes(List<String> resourceTypes) - 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::Bucket
AWS::RDS::DBSnapshot
AWS::RDS::DBClusterSnapshot
AWS::S3Express::DirectoryBucket
AWS::DynamoDB::Table
AWS::DynamoDB::Stream
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty>
- Returns:
- a new instance of
CfnAnalyzer.InternalAccessAnalysisRuleCriteriaProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-