Class CfnHubV2.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHubV2>
- Enclosing class:
CfnHubV2
CfnHubV2.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnHubV2.BuildernetworkScanning(IResolvable networkScanning) Configuration for the Network Scanning opt-in feature of Security Hub V2.networkScanning(CfnHubV2.NetworkScanningProperty 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
@Stability(Stable) public static CfnHubV2.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
CfnHubV2.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 CfnHubV2.Builder networkScanning(CfnHubV2.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
-