Class: Aws::GuardDuty::Types::UsageCriteria

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 UsageCriteria data as a hash:

{
  account_ids: ["AccountId"],
  data_sources: ["FLOW_LOGS"], # required, accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_LOGS
  resources: ["String"],
}

Contains information about the criteria used to query usage statistics.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idsArray<String>

The account IDs to aggregate usage statistics from.

Returns:

  • (Array<String>)


4812
4813
4814
4815
4816
4817
4818
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 4812

class UsageCriteria < Struct.new(
  :account_ids,
  :data_sources,
  :resources)
  SENSITIVE = []
  include Aws::Structure
end

#data_sourcesArray<String>

The data sources to aggregate usage statistics from.

Returns:

  • (Array<String>)


4812
4813
4814
4815
4816
4817
4818
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 4812

class UsageCriteria < Struct.new(
  :account_ids,
  :data_sources,
  :resources)
  SENSITIVE = []
  include Aws::Structure
end

#resourcesArray<String>

The resources to aggregate usage statistics from. Only accepts exact resource names.

Returns:

  • (Array<String>)


4812
4813
4814
4815
4816
4817
4818
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 4812

class UsageCriteria < Struct.new(
  :account_ids,
  :data_sources,
  :resources)
  SENSITIVE = []
  include Aws::Structure
end