Class: Aws::GuardDuty::Types::ResourceStatistics
- Inherits:
-
Struct
- Object
- Struct
- Aws::GuardDuty::Types::ResourceStatistics
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-guardduty/types.rb
Overview
Information about each resource type associated with the ‘groupedByResource` statistics.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#account_id ⇒ String
The ID of the Amazon Web Services account.
-
#last_generated_at ⇒ Time
The timestamp at which the statistics for this resource was last generated.
-
#resource_id ⇒ String
ID associated with each resource.
-
#resource_type ⇒ String
The type of resource.
-
#total_findings ⇒ Integer
The total number of findings associated with this resource.
Instance Attribute Details
#account_id ⇒ String
The ID of the Amazon Web Services account.
7811 7812 7813 7814 7815 7816 7817 7818 7819 |
# File 'lib/aws-sdk-guardduty/types.rb', line 7811 class ResourceStatistics < Struct.new( :account_id, :last_generated_at, :resource_id, :resource_type, :total_findings) SENSITIVE = [] include Aws::Structure end |
#last_generated_at ⇒ Time
The timestamp at which the statistics for this resource was last generated.
7811 7812 7813 7814 7815 7816 7817 7818 7819 |
# File 'lib/aws-sdk-guardduty/types.rb', line 7811 class ResourceStatistics < Struct.new( :account_id, :last_generated_at, :resource_id, :resource_type, :total_findings) SENSITIVE = [] include Aws::Structure end |
#resource_id ⇒ String
ID associated with each resource. The following list provides the mapping of the resource type and resource ID.
**Mapping of resource and resource ID**
-
AccessKey - ‘resource.accessKeyDetails.accessKeyId`
-
Container - ‘resource.containerDetails.id`
-
ECSCluster - ‘resource.ecsClusterDetails.name`
-
EKSCluster - ‘resource.eksClusterDetails.name`
-
Instance - ‘resource.instanceDetails.instanceId`
-
KubernetesCluster - ‘resource.kubernetesDetails.kubernetesWorkloadDetails.name`
-
Lambda - ‘resource.lambdaDetails.functionName`
-
RDSDBInstance - ‘resource.rdsDbInstanceDetails.dbInstanceIdentifier`
-
S3Bucket - ‘resource.s3BucketDetails.name`
-
S3Object - ‘resource.s3BucketDetails.name`
7811 7812 7813 7814 7815 7816 7817 7818 7819 |
# File 'lib/aws-sdk-guardduty/types.rb', line 7811 class ResourceStatistics < Struct.new( :account_id, :last_generated_at, :resource_id, :resource_type, :total_findings) SENSITIVE = [] include Aws::Structure end |
#resource_type ⇒ String
The type of resource.
7811 7812 7813 7814 7815 7816 7817 7818 7819 |
# File 'lib/aws-sdk-guardduty/types.rb', line 7811 class ResourceStatistics < Struct.new( :account_id, :last_generated_at, :resource_id, :resource_type, :total_findings) SENSITIVE = [] include Aws::Structure end |
#total_findings ⇒ Integer
The total number of findings associated with this resource.
7811 7812 7813 7814 7815 7816 7817 7818 7819 |
# File 'lib/aws-sdk-guardduty/types.rb', line 7811 class ResourceStatistics < Struct.new( :account_id, :last_generated_at, :resource_id, :resource_type, :total_findings) SENSITIVE = [] include Aws::Structure end |