You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::GuardDuty::Types::UpdateDetectorRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateDetectorRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  detector_id: "DetectorId", # required
  enable: false,
  finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
  data_sources: {
    s3_logs: {
      enable: false, # required
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#data_sourcesTypes::DataSourceConfigurations

An object that describes which data sources will be updated.

Returns:

#detector_idString

The unique ID of the detector to update.

Returns:

  • (String)

    The unique ID of the detector to update.

#enableBoolean

Specifies whether the detector is enabled or not enabled.

Returns:

  • (Boolean)

    Specifies whether the detector is enabled or not enabled.

#finding_publishing_frequencyString

An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.

Possible values:

  • FIFTEEN_MINUTES
  • ONE_HOUR
  • SIX_HOURS

Returns:

  • (String)

    An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.