@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:46.731Z")
public interface CfnDetectorProps
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.guardduty.*; CfnDetectorProps cfnDetectorProps = CfnDetectorProps.builder() .enable(false) // the properties below are optional .dataSources(CFNDataSourceConfigurationsProperty.builder() .kubernetes(CFNKubernetesConfigurationProperty.builder() .auditLogs(CFNKubernetesAuditLogsConfigurationProperty.builder() .enable(false) .build()) .build()) .malwareProtection(CFNMalwareProtectionConfigurationProperty.builder() .scanEc2InstanceWithFindings(CFNScanEc2InstanceWithFindingsConfigurationProperty.builder() .ebsVolumes(false) .build()) .build()) .s3Logs(CFNS3LogsConfigurationProperty.builder() .enable(false) .build()) .build()) .findingPublishingFrequency("findingPublishingFrequency") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDetectorProps.Builder
A builder for
CfnDetectorProps |
static class |
CfnDetectorProps.Jsii$Proxy
An implementation for
CfnDetectorProps |
Modifier and Type | Method and Description |
---|---|
static CfnDetectorProps.Builder |
builder() |
default java.lang.Object |
getDataSources()
Describes which data sources will be enabled for the detector.
|
java.lang.Object |
getEnable()
Specifies whether the detector is to be enabled on creation.
|
default java.lang.String |
getFindingPublishingFrequency()
Specifies how frequently updated findings are exported.
|
default java.util.List<CfnTag> |
getTags()
The tags to be added to a new detector resource.
|
java.lang.Object getEnable()
default java.lang.Object getDataSources()
default java.lang.String getFindingPublishingFrequency()
default java.util.List<CfnTag> getTags()
Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
static CfnDetectorProps.Builder builder()
CfnDetectorProps.Builder
of CfnDetectorProps