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

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

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

Overview

Note:

When passing CreateDetectorRequest as input to an Aws::Client method, you can use a vanilla 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.

Returns:

  • (String)

    The idempotency token for the create request.

#enableBoolean

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

Returns:

  • (Boolean)

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

#finding_publishing_frequencyString

An enum value that specifies how frequently updated findings are exported.

Possible values:

  • FIFTEEN_MINUTES
  • ONE_HOUR
  • SIX_HOURS

Returns:

  • (String)

    An enum value that specifies how frequently updated findings are exported.

#tagsHash<String,String>

The tags to be added to a new detector resource.

Returns:

  • (Hash<String,String>)

    The tags to be added to a new detector resource.