Skip to content

ResourceStatistics

Source code in docs_src/capo_guardduty/types/resource_statistics.py
class ResourceStatistics(TypedDict, closed=True):
    account_id: NotRequired["capo_guardduty.types.string.String"]
    """<p>The ID of the Amazon Web Services account.</p>"""
    last_generated_at: NotRequired["capo_guardduty.types.timestamp.Timestamp"]
    """<p>The timestamp at which the statistics for this resource was last generated.</p>"""
    resource_id: NotRequired["capo_guardduty.types.string.String"]
    """<p>ID associated with each resource. The following list provides the mapping of the resource type and resource ID.</p> <p class="title"> <b>Mapping of resource and resource ID</b> </p> <ul> <li> <p>AccessKey - <code>resource.accessKeyDetails.accessKeyId</code> </p> </li> <li> <p>Container - <code>resource.containerDetails.id</code> </p> </li> <li> <p>ECSCluster - <code>resource.ecsClusterDetails.name</code> </p> </li> <li> <p>EKSCluster - <code>resource.eksClusterDetails.name</code> </p> </li> <li> <p>Instance - <code>resource.instanceDetails.instanceId</code> </p> </li> <li> <p>KubernetesCluster - <code>resource.kubernetesDetails.kubernetesWorkloadDetails.name</code> </p> </li> <li> <p>Lambda - <code>resource.lambdaDetails.functionName</code> </p> </li> <li> <p>RDSDBInstance - <code>resource.rdsDbInstanceDetails.dbInstanceIdentifier</code> </p> </li> <li> <p>S3Bucket - <code>resource.s3BucketDetails.name</code> </p> </li> <li> <p>S3Object - <code>resource.s3BucketDetails.name</code> </p> </li> </ul>"""
    resource_type: NotRequired["capo_guardduty.types.string.String"]
    """<p>The type of resource.</p>"""
    total_findings: NotRequired["capo_guardduty.types.integer.Integer"]
    """<p>The total number of findings associated with this resource.</p>"""

account_id instance-attribute

account_id: NotRequired[String]

The ID of the Amazon Web Services account.

last_generated_at instance-attribute

last_generated_at: NotRequired[Timestamp]

The timestamp at which the statistics for this resource was last generated.

resource_id instance-attribute

resource_id: NotRequired[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

resource_type instance-attribute

resource_type: NotRequired[String]

The type of resource.

total_findings instance-attribute

total_findings: NotRequired[Integer]

The total number of findings associated with this resource.