Class: Aws::GuardDuty::Types::CreateDetectorRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-guardduty/types.rb

Overview

Note:

When making an API call, you may pass CreateDetectorRequest data as a hash:

{
  client_token: "__stringMin0Max64",
  enable: false, # required
  finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
}

Create Detector Request

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

The idempotency token for the create request.**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


316
317
318
319
320
321
# File 'lib/aws-sdk-guardduty/types.rb', line 316

class CreateDetectorRequest < Struct.new(
  :client_token,
  :enable,
  :finding_publishing_frequency)
  include Aws::Structure
end

#enableBoolean

A boolean value that specifies whether the detector is to be enabled.

Returns:

  • (Boolean)


316
317
318
319
320
321
# File 'lib/aws-sdk-guardduty/types.rb', line 316

class CreateDetectorRequest < Struct.new(
  :client_token,
  :enable,
  :finding_publishing_frequency)
  include Aws::Structure
end

#finding_publishing_frequencyString

A enum value that specifies how frequently customer got Finding updates published.

Returns:

  • (String)


316
317
318
319
320
321
# File 'lib/aws-sdk-guardduty/types.rb', line 316

class CreateDetectorRequest < Struct.new(
  :client_token,
  :enable,
  :finding_publishing_frequency)
  include Aws::Structure
end