Show / Hide Table of Contents

Class CfnDetectorProps

Properties for defining a CfnDetector.

Inheritance
object
CfnDetectorProps
Implements
ICfnDetectorProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.GuardDuty
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDetectorProps : ICfnDetectorProps
Syntax (vb)
Public Class CfnDetectorProps 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 for defining a CfnDetector.

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()

Properties for defining a CfnDetector.

public CfnDetectorProps()
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"
                 } }
             };

Properties

DataSources

Describes which data sources will be enabled for the detector.

public object? DataSources { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html#cfn-guardduty-detector-datasources

Type union: either IResolvable or CfnDetector.ICFNDataSourceConfigurationsProperty

Enable

Specifies whether the detector is to be enabled on creation.

public object Enable { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html#cfn-guardduty-detector-enable

Type union: either bool or IResolvable

Features

A list of features that will be configured for the detector.

public object? Features { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html#cfn-guardduty-detector-features

Type union: either IResolvable or (either IResolvable or CfnDetector.ICFNFeatureConfigurationProperty)[]

FindingPublishingFrequency

Specifies how frequently updated findings are exported.

public string? FindingPublishingFrequency { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html#cfn-guardduty-detector-findingpublishingfrequency

Tags

Specifies tags added to a new detector resource.

public CfnDetector.ITagItemProperty[]? Tags { get; set; }
Property Value

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html#cfn-guardduty-detector-tags

Implements

ICfnDetectorProps
Back to top Generated by DocFX