AWS::GuardDuty::DetectorThe `AWS::GuardDuty::Detector` resource specifies a new GuardDuty detector. A detector is an object that represents the GuardDuty service. A detector is required for GuardDuty to become operational. Make sure you use either `DataSources` or `Features` in a one request, and not both.
import { CfnDetector } from 'aws-cdk-lib/aws-guardduty';Or use the module namespace:
import * as guardduty from 'aws-cdk-lib/aws-guardduty';
// guardduty.CfnDetectorConfiguration passed to the constructor as CfnDetectorProps.
enableRequiredboolean | IResolvableSpecifies whether the detector is to be enabled on creation.
dataSourcesOptionalIResolvable | CFNDataSourceConfigurationsPropertyDescribes which data sources will be enabled for the detector.
featuresOptionalIResolvable | IResolvable | CFNFeatureConfigurationProperty[]A list of features that will be configured for the detector.
findingPublishingFrequencyOptionalstringSpecifies how frequently updated findings are exported.
tagsOptionalTagItemProperty[]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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-guarddutyAWS::GuardDuty::Detector