@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:35.400Z") @Stability(value=Stable) public interface CfnDetectorProps extends software.amazon.jsii.JsiiSerializable
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 Object |
getDataSources()
Describes which data sources will be enabled for the detector.
|
Object |
getEnable()
Specifies whether the detector is to be enabled on creation.
|
default String |
getFindingPublishingFrequency()
Specifies how frequently updated findings are exported.
|
default List<CfnTag> |
getTags()
The tags to be added to a new detector resource.
|
@Stability(value=Stable) @NotNull Object getEnable()
@Stability(value=Stable) @Nullable default Object getDataSources()
@Stability(value=Stable) @Nullable default String getFindingPublishingFrequency()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
@Stability(value=Stable) static CfnDetectorProps.Builder builder()
CfnDetectorProps.Builder of CfnDetectorPropsCopyright © 2022. All rights reserved.