Class CfnHubMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHubMixinProps>
- Enclosing interface:
CfnHubMixinProps
CfnHubMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoEnableControls(Boolean autoEnableControls) Sets the value ofCfnHubMixinProps.getAutoEnableControls()autoEnableControls(IResolvable autoEnableControls) Sets the value ofCfnHubMixinProps.getAutoEnableControls()build()Builds the configured instance.controlFindingGenerator(String controlFindingGenerator) Sets the value ofCfnHubMixinProps.getControlFindingGenerator()enableDefaultStandards(Boolean enableDefaultStandards) Sets the value ofCfnHubMixinProps.getEnableDefaultStandards()enableDefaultStandards(IResolvable enableDefaultStandards) Sets the value ofCfnHubMixinProps.getEnableDefaultStandards()Sets the value ofCfnHubMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoEnableControls
Sets the value ofCfnHubMixinProps.getAutoEnableControls()- Parameters:
autoEnableControls- Whether to automatically enable new controls when they are added to standards that are enabled. By default, this is set totrue, and new controls are enabled automatically. To not automatically enable new controls, set this tofalse.When you automatically enable new controls, you can interact with the controls in the console and programmatically immediately after release. However, automatically enabled controls have a temporary default status of
DISABLED. It can take up to several days for Security Hub CSPM to process the control release and designate the control asENABLEDin your account. During the processing period, you can manually enable or disable a control, and Security Hub CSPM will maintain that designation regardless of whether you haveAutoEnableControlsset totrue.- Returns:
this
-
autoEnableControls
@Stability(Stable) public CfnHubMixinProps.Builder autoEnableControls(IResolvable autoEnableControls) Sets the value ofCfnHubMixinProps.getAutoEnableControls()- Parameters:
autoEnableControls- Whether to automatically enable new controls when they are added to standards that are enabled. By default, this is set totrue, and new controls are enabled automatically. To not automatically enable new controls, set this tofalse.When you automatically enable new controls, you can interact with the controls in the console and programmatically immediately after release. However, automatically enabled controls have a temporary default status of
DISABLED. It can take up to several days for Security Hub CSPM to process the control release and designate the control asENABLEDin your account. During the processing period, you can manually enable or disable a control, and Security Hub CSPM will maintain that designation regardless of whether you haveAutoEnableControlsset totrue.- Returns:
this
-
controlFindingGenerator
@Stability(Stable) public CfnHubMixinProps.Builder controlFindingGenerator(String controlFindingGenerator) Sets the value ofCfnHubMixinProps.getControlFindingGenerator()- Parameters:
controlFindingGenerator- Specifies whether an account has consolidated control findings turned on or off. If the value for this field is set toSECURITY_CONTROL, Security Hub CSPM generates a single finding for a control check even when the check applies to multiple enabled standards.If the value for this field is set to
STANDARD_CONTROL, Security Hub CSPM generates separate findings for a control check when the check applies to multiple enabled standards.The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is
SECURITY_CONTROLif you enabled Security Hub CSPM on or after February 23, 2023.- Returns:
this
-
enableDefaultStandards
@Stability(Stable) public CfnHubMixinProps.Builder enableDefaultStandards(Boolean enableDefaultStandards) Sets the value ofCfnHubMixinProps.getEnableDefaultStandards()- Parameters:
enableDefaultStandards- Whether to enable the security standards that Security Hub CSPM has designated as automatically enabled. If you don't provide a value forEnableDefaultStandards, it is set totrue, and the designated standards are automatically enabled in each AWS Region where you enable Security Hub CSPM . If you don't want to enable the designated standards, setEnableDefaultStandardstofalse.Currently, the automatically enabled standards are the Center for Internet Security (CIS) AWS Foundations Benchmark v1.2.0 and AWS Foundational Security Best Practices (FSBP).
- Returns:
this
-
enableDefaultStandards
@Stability(Stable) public CfnHubMixinProps.Builder enableDefaultStandards(IResolvable enableDefaultStandards) Sets the value ofCfnHubMixinProps.getEnableDefaultStandards()- Parameters:
enableDefaultStandards- Whether to enable the security standards that Security Hub CSPM has designated as automatically enabled. If you don't provide a value forEnableDefaultStandards, it is set totrue, and the designated standards are automatically enabled in each AWS Region where you enable Security Hub CSPM . If you don't want to enable the designated standards, setEnableDefaultStandardstofalse.Currently, the automatically enabled standards are the Center for Internet Security (CIS) AWS Foundations Benchmark v1.2.0 and AWS Foundational Security Best Practices (FSBP).
- Returns:
this
-
tags
Sets the value ofCfnHubMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHubMixinProps>- Returns:
- a new instance of
CfnHubMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-