Class CfnStandard.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnStandard.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStandard>
- Enclosing class:
CfnStandard
@Stability(Stable)
public static final class CfnStandard.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStandard>
A fluent builder for
CfnStandard.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnStandard.BuilderdisabledStandardsControls(List<? extends Object> disabledStandardsControls) Specifies which controls are to be disabled in a standard.disabledStandardsControls(IResolvable disabledStandardsControls) Specifies which controls are to be disabled in a standard.standardsArn(String standardsArn) The ARN of the standard that you want to enable.
-
Method Details
-
create
@Stability(Stable) public static CfnStandard.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
CfnStandard.Builder.
-
standardsArn
The ARN of the standard that you want to enable.To view a list of available Security Hub standards and their ARNs, use the
DescribeStandardsAPI operation.- Parameters:
standardsArn- The ARN of the standard that you want to enable. This parameter is required.- Returns:
this- See Also:
-
disabledStandardsControls
@Stability(Stable) public CfnStandard.Builder disabledStandardsControls(IResolvable disabledStandardsControls) Specifies which controls are to be disabled in a standard.Maximum :
100- Parameters:
disabledStandardsControls- Specifies which controls are to be disabled in a standard. This parameter is required.- Returns:
this- See Also:
-
disabledStandardsControls
@Stability(Stable) public CfnStandard.Builder disabledStandardsControls(List<? extends Object> disabledStandardsControls) Specifies which controls are to be disabled in a standard.Maximum :
100- Parameters:
disabledStandardsControls- Specifies which controls are to be disabled in a standard. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStandard>- Returns:
- a newly built instance of
CfnStandard.
-