Interface CfnDetectorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDetectorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.161Z")
@Stability(Stable)
public interface CfnDetectorProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDetector.
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())
.features(List.of(FeatureConfigurationsProperty.builder()
.additionalConfiguration(List.of(FeatureAdditionalConfigurationProperty.builder()
.name("name")
.status("status")
.build()))
.name("name")
.status("status")
.build()))
.findingPublishingFrequency("findingPublishingFrequency")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDetectorPropsstatic final classAn implementation forCfnDetectorProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDetectorProps.Builderbuilder()default ObjectDescribes which data sources will be enabled for the detector.Specifies whether the detector is to be enabled on creation.default ObjectA list of features that will be configured for the detector.default StringSpecifies how frequently updated findings are exported.getTags()Specifies tags added to a new detector resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnable
Specifies whether the detector is to be enabled on creation. -
getDataSources
Describes which data sources will be enabled for the detector. -
getFeatures
A list of features that will be configured for the detector. -
getFindingPublishingFrequency
Specifies how frequently updated findings are exported. -
getTags
Specifies tags added to a new detector resource.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 .
-
builder
- Returns:
- a
CfnDetectorProps.BuilderofCfnDetectorProps
-