Class CfnHubV2PropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHubV2PropsMixin>
- Enclosing class:
CfnHubV2PropsMixin
CfnHubV2PropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnHubV2PropsMixin.Buildercreate()static CfnHubV2PropsMixin.Buildercreate(CfnPropertyMixinOptions options) networkScanning(CfnHubV2PropsMixin.NetworkScanningProperty networkScanning) Configuration for the Network Scanning opt-in feature of Security Hub V2.networkScanning(IResolvable networkScanning) Configuration for the Network Scanning opt-in feature of Security Hub V2.The tags to add to the hub V2 resource when you enable Security Hub CSPM.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnHubV2PropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnHubV2PropsMixin.Builder.
-
networkScanning
Configuration for the Network Scanning opt-in feature of Security Hub V2.Network Scanning is available in the AWS commercial partition only; specifying this property in another partition, such as AWS GovCloud (US) or China, fails. This property is desired state: if you remove it from a stack that previously set it, the feature is disabled. If a stack has never set it, the feature is left as-is, so a stack that does not manage Network Scanning will not disable it. Network Scanning requires Security Hub V2 to be enabled in the same account and Region.
- Parameters:
networkScanning- Configuration for the Network Scanning opt-in feature of Security Hub V2. This parameter is required.- Returns:
this- See Also:
-
networkScanning
@Stability(Stable) public CfnHubV2PropsMixin.Builder networkScanning(CfnHubV2PropsMixin.NetworkScanningProperty networkScanning) Configuration for the Network Scanning opt-in feature of Security Hub V2.Network Scanning is available in the AWS commercial partition only; specifying this property in another partition, such as AWS GovCloud (US) or China, fails. This property is desired state: if you remove it from a stack that previously set it, the feature is disabled. If a stack has never set it, the feature is left as-is, so a stack that does not manage Network Scanning will not disable it. Network Scanning requires Security Hub V2 to be enabled in the same account and Region.
- Parameters:
networkScanning- Configuration for the Network Scanning opt-in feature of Security Hub V2. This parameter is required.- Returns:
this- See Also:
-
tags
The tags to add to the hub V2 resource when you enable Security Hub CSPM.- Parameters:
tags- The tags to add to the hub V2 resource when you enable Security Hub CSPM. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHubV2PropsMixin>- Returns:
- a newly built instance of
CfnHubV2PropsMixin.
-