Class CfnDetectorProps
Properties for defining a CfnDetector
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.GuardDuty
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDetectorProps : Object, ICfnDetectorProps
Syntax (vb)
Public Class CfnDetectorProps
Inherits Object
Implements ICfnDetectorProps
Remarks
See: 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 CFNFeatureConfigurationProperty {
Name = "name",
Status = "status",
// the properties below are optional
AdditionalConfiguration = new [] { new CFNFeatureAdditionalConfigurationProperty {
Name = "name",
Status = "status"
} }
} },
FindingPublishingFrequency = "findingPublishingFrequency",
Tags = new [] { new TagItemProperty {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnDetectorProps() |
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. |
Constructors
CfnDetectorProps()
public CfnDetectorProps()
Properties
DataSources
Describes which data sources will be enabled for the detector.
public object DataSources { get; set; }
Property Value
System.Object
Remarks
Enable
Specifies whether the detector is to be enabled on creation.
public object Enable { get; set; }
Property Value
System.Object
Remarks
Features
A list of features that will be configured for the detector.
public object Features { get; set; }
Property Value
System.Object
Remarks
FindingPublishingFrequency
Specifies how frequently updated findings are exported.
public string FindingPublishingFrequency { get; set; }
Property Value
System.String
Remarks
Tags
Specifies tags added to a new detector resource.
public CfnDetector.ITagItemProperty[] Tags { get; set; }
Property Value
CfnDetector.ITagItemProperty[]
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 .