Class CfnHubV2.NetworkScanningProperty
Configuration for the Network Scanning opt-in feature of Security Hub V2.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SecurityHub
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnHubV2.NetworkScanningProperty : CfnHubV2.INetworkScanningProperty
Syntax (vb)
Public Class CfnHubV2.NetworkScanningProperty Implements CfnHubV2.INetworkScanningProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SecurityHub;
var networkScanningProperty = new NetworkScanningProperty {
Status = "status"
};
Synopsis
Constructors
| NetworkScanningProperty() | Configuration for the Network Scanning opt-in feature of Security Hub V2. |
Properties
| Status | Whether the Network Scanning feature is enabled for this account and Region. |
Constructors
NetworkScanningProperty()
Configuration for the Network Scanning opt-in feature of Security Hub V2.
public NetworkScanningProperty()
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SecurityHub;
var networkScanningProperty = new NetworkScanningProperty {
Status = "status"
};
Properties
Status
Whether the Network Scanning feature is enabled for this account and Region.
public string Status { get; set; }