Provides a resource to manage a single Amazon GuardDuty detector feature.
resource "aws_guardduty_detector" "example" {
enable = true
}
resource "aws_guardduty_detector_feature" "eks_runtime_monitoring" {
detector_id = aws_guardduty_detector.example.id
name = "EKS_RUNTIME_MONITORING"
status = "ENABLED"
additional_configuration {
name = "EKS_ADDON_MANAGEMENT"
status = "ENABLED"
}
}
This resource supports the following arguments:
detector_id
- (Required) Amazon GuardDuty detector ID.name
- (Required) The name of the detector feature. Refer to the AWS Documentation for the current list of supported values.status
- (Required) The status of the detector feature. Valid values: ENABLED
, DISABLED
.additional_configuration
- (Optional) Additional feature configuration block. See below.The additional_configuration
block supports the following:
name
- (Required) The name of the additional configuration. Refer to the AWS Documentation for the current list of supported values.status
- (Required) The status of the additional configuration. Valid values: ENABLED
, DISABLED
.This resource exports no additional attributes.