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
- Struct
- Aws::GuardDuty::Types::CreateDetectorRequest
- Defined in:
- (unknown)
Overview
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
data_sources: {
s3_logs: {
enable: false, # required
},
},
tags: {
"TagKey" => "TagValue",
},
}
Instance Attribute Summary collapse
-
#client_token ⇒ String
The idempotency token for the create request.
-
#data_sources ⇒ Types::DataSourceConfigurations
An object that describes which data sources will be enabled for the detector.
-
#enable ⇒ Boolean
A Boolean value that specifies whether the detector is to be enabled.
-
#finding_publishing_frequency ⇒ String
An enum value that specifies how frequently updated findings are exported.
-
#tags ⇒ Hash<String,String>
The tags to be added to a new detector resource.
Instance Attribute Details
#client_token ⇒ String
The idempotency token for the create request.
#data_sources ⇒ Types::DataSourceConfigurations
An object that describes which data sources will be enabled for the detector.
#enable ⇒ Boolean
A Boolean value that specifies whether the detector is to be enabled.
#finding_publishing_frequency ⇒ String
An enum value that specifies how frequently updated findings are exported.
Possible values:
- FIFTEEN_MINUTES
- ONE_HOUR
- SIX_HOURS
#tags ⇒ Hash<String,String>
The tags to be added to a new detector resource.