DetectorState constructor

const DetectorState({
  1. Input<String?>? accountId,
  2. Input<String?>? arn,
  3. Input<DetectorDatasources?>? datasources,
  4. Input<bool?>? enable,
  5. Input<String?>? findingPublishingFrequency,
  6. Input<String?>? region,
  7. Input<Map<String, String>?>? tags,
  8. Input<Map<String, String>?>? tagsAll,
})

Creates a new DetectorState. accountId The AWS account ID of the GuardDuty detector arn ARN of the GuardDuty detector datasources Describes which data sources will be enabled for the detector. See Data Sources below for more details. Deprecated in favor of aws.guardduty.DetectorFeature resources. enable Enable monitoring and feedback reporting. Setting to false is equivalent to "suspending" GuardDuty. Defaults to true. findingPublishingFrequency Specifies the frequency of notifications sent for subsequent finding occurrences. If the detector is a GuardDuty member account, the value is determined by the GuardDuty primary account and cannot be modified, otherwise defaults to SIX_HOURS. For standalone and GuardDuty primary accounts, it must be configured in this provider to enable drift detection. Valid values for standalone and primary accounts: FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS. See AWS Documentation for more information. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Implementation

const DetectorState({
  this.accountId,
  this.arn,
  this.datasources,
  this.enable,
  this.findingPublishingFrequency,
  this.region,
  this.tags,
  this.tagsAll,
});