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

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

Overview

Note:

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

{
  enable: false, # required
  client_token: "ClientToken",
  finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
  tags: {
    "TagKey" => "TagValue",
  },
}

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)


381
382
383
384
385
386
387
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 381

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

#enableBoolean

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

Returns:

  • (Boolean)


381
382
383
384
385
386
387
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 381

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

#finding_publishing_frequencyString

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

Returns:

  • (String)


381
382
383
384
385
386
387
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 381

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

#tagsHash<String,String>

The tags to be added to a new detector resource.

Returns:

  • (Hash<String,String>)


381
382
383
384
385
386
387
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 381

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