UsageCriteria - Amazon GuardDuty
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

UsageCriteria

Contains information about the criteria used to query usage statistics.

Contents

accountIds

The account IDs to aggregate usage statistics from.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 50 items.

Length Constraints: Fixed length of 12.

Required: No

dataSources

The data sources to aggregate usage statistics from.

Type: Array of strings

Valid Values: FLOW_LOGS | CLOUD_TRAIL | DNS_LOGS | S3_LOGS | KUBERNETES_AUDIT_LOGS | EC2_MALWARE_SCAN

Required: Yes

resources

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

Type: Array of strings

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: