Learn R Programming

paws.security.identity (version 0.1.12)

guardduty_create_detector: Creates a single Amazon GuardDuty detector

Description

Creates a single Amazon GuardDuty detector. A detector is a resource that represents the GuardDuty service. To start using GuardDuty, you must create a detector in each Region where you enable the service. You can have only one detector per account per Region. All data sources are enabled in a new detector by default.

Usage

guardduty_create_detector(Enable, ClientToken,
  FindingPublishingFrequency, DataSources, Tags)

Value

A list with the following syntax:

list(
  DetectorId = "string"
)

Arguments

Enable

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

ClientToken

The idempotency token for the create request.

FindingPublishingFrequency

A value that specifies how frequently updated findings are exported.

DataSources

Describes which data sources will be enabled for the detector.

Tags

The tags to be added to a new detector resource.

Request syntax

svc$create_detector(
  Enable = TRUE|FALSE,
  ClientToken = "string",
  FindingPublishingFrequency = "FIFTEEN_MINUTES"|"ONE_HOUR"|"SIX_HOURS",
  DataSources = list(
    S3Logs = list(
      Enable = TRUE|FALSE
    )
  ),
  Tags = list(
    "string"
  )
)