Interface ICfnDetectorProps
Properties for defining a CfnDetector
.
Namespace: Amazon.CDK.AWS.GuardDuty
Assembly: Amazon.CDK.AWS.GuardDuty.dll
Syntax (csharp)
public interface ICfnDetectorProps
Syntax (vb)
Public Interface ICfnDetectorProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html
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.GuardDuty;
var cfnDetectorProps = new CfnDetectorProps {
Enable = false,
// the properties below are optional
DataSources = new CFNDataSourceConfigurationsProperty {
Kubernetes = new CFNKubernetesConfigurationProperty {
AuditLogs = new CFNKubernetesAuditLogsConfigurationProperty {
Enable = false
}
},
MalwareProtection = new CFNMalwareProtectionConfigurationProperty {
ScanEc2InstanceWithFindings = new CFNScanEc2InstanceWithFindingsConfigurationProperty {
EbsVolumes = false
}
},
S3Logs = new CFNS3LogsConfigurationProperty {
Enable = false
}
},
Features = new [] { new FeatureConfigurationsProperty {
AdditionalConfiguration = new [] { new FeatureAdditionalConfigurationProperty {
Name = "name",
Status = "status"
} },
Name = "name",
Status = "status"
} },
FindingPublishingFrequency = "findingPublishingFrequency",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
DataSources | Describes which data sources will be enabled for the detector. |
Enable | Specifies whether the detector is to be enabled on creation. |
Features | A list of features that will be configured for the detector. |
FindingPublishingFrequency | Specifies how frequently updated findings are exported. |
Tags | Specifies tags added to a new detector resource. |
Properties
DataSources
Describes which data sources will be enabled for the detector.
virtual object DataSources { get; }
Property Value
System.Object
Remarks
Enable
Specifies whether the detector is to be enabled on creation.
object Enable { get; }
Property Value
System.Object
Remarks
Features
A list of features that will be configured for the detector.
virtual object Features { get; }
Property Value
System.Object
Remarks
FindingPublishingFrequency
Specifies how frequently updated findings are exported.
virtual string FindingPublishingFrequency { get; }
Property Value
System.String
Remarks
Tags
Specifies tags added to a new detector resource.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
Each tag consists of a key and an optional value, both of which you define.
Currently, support is available only for creating and deleting a tag. No support exists for updating the tags.
For more information, see Tag .