Skip to content

Guardduty  >  Structures  >  UsageStatistics

UsageStatistics

Structure Class

UsageStatistics dataclass

Contains the result of GuardDuty usage. If a UsageStatisticType is provided the result for other types will be null.

Attributes

sum_by_account class-attribute instance-attribute
sum_by_account: list[UsageAccountResult] | None = None

The usage statistic sum organized by account ID.

sum_by_data_source class-attribute instance-attribute
sum_by_data_source: list[UsageDataSourceResult] | None = None

The usage statistic sum organized by on data source.

sum_by_feature class-attribute instance-attribute
sum_by_feature: list[UsageFeatureResult] | None = None

The usage statistic sum organized by feature.

sum_by_resource class-attribute instance-attribute
sum_by_resource: list[UsageResourceResult] | None = None

The usage statistic sum organized by resource.

top_accounts_by_feature class-attribute instance-attribute
top_accounts_by_feature: list[UsageTopAccountsResult] | None = None

Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most to least expensive.

Currently, this doesn't support RDS_LOGIN_EVENTS.

top_resources class-attribute instance-attribute
top_resources: list[UsageResourceResult] | None = None

Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.