Interface CfnHubV2Props
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHubV2Props.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:05:01.371Z")
@Stability(Stable)
public interface CfnHubV2Props
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnHubV2.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.securityhub.*;
CfnHubV2Props cfnHubV2Props = CfnHubV2Props.builder()
.networkScanning(NetworkScanningProperty.builder()
.status("status")
.build())
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnHubV2Propsstatic final classAn implementation forCfnHubV2Props -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnHubV2Props.Builderbuilder()default ObjectConfiguration for the Network Scanning opt-in feature of Security Hub V2.getTags()The tags to add to the hub V2 resource when you enable Security Hub CSPM.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNetworkScanning
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.
Returns union: either
IResolvableorCfnHubV2.NetworkScanningProperty- See Also:
-
getTags
The tags to add to the hub V2 resource when you enable Security Hub CSPM.- See Also:
-
builder
- Returns:
- a
CfnHubV2Props.BuilderofCfnHubV2Props
-