Interface CfnDetectorMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDetectorMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-19T12:55:20.993Z")
@Stability(Stable)
public interface CfnDetectorMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnDetectorPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.guardduty.*;
CfnDetectorMixinProps cfnDetectorMixinProps = CfnDetectorMixinProps.builder()
.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())
.enable(false)
.features(List.of(CFNFeatureConfigurationProperty.builder()
.additionalConfiguration(List.of(CFNFeatureAdditionalConfigurationProperty.builder()
.name("name")
.status("status")
.build()))
.name("name")
.status("status")
.build()))
.findingPublishingFrequency("findingPublishingFrequency")
.tags(List.of(TagItemProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDetectorMixinPropsstatic final classAn implementation forCfnDetectorMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectDescribes which data sources will be enabled for the detector.default ObjectSpecifies 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
-
getDataSources
Describes which data sources will be enabled for the detector.Returns union: either
IResolvableorCfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty- See Also:
-
getEnable
Specifies whether the detector is to be enabled on creation.Returns union: either
BooleanorIResolvable- See Also:
-
getFeatures
A list of features that will be configured for the detector.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDetectorPropsMixin.CFNFeatureConfigurationProperty>- See Also:
-
getFindingPublishingFrequency
Specifies how frequently updated findings are exported.- See Also:
-
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 .
- See Also:
-
builder
- Returns:
- a
CfnDetectorMixinProps.BuilderofCfnDetectorMixinProps
-