Skip to content

InvestigationResource

Source code in docs_src/capo_guardduty/types/investigation_resource.py
class InvestigationResource(TypedDict, closed=True):
    uid: NotRequired["capo_guardduty.types.string.String"]
    """<p>The unique identifier of the resource. This is the Amazon Resource Name (ARN) of the resource when it's available. Otherwise, it's the name or ID of the resource.</p>"""
    name: NotRequired["capo_guardduty.types.string.String"]
    """<p>The name of the resource.</p>"""
    resource_type: NotRequired[
        "capo_guardduty.types.investigation_resource_type.InvestigationResourceType"
    ]
    """<p>The type of the resource. Possible values are <code>EC2_INSTANCE</code>, <code>EBS_VOLUME</code>, <code>S3_BUCKET</code>, <code>IAM_ROLE</code>, <code>IAM_USER</code>, <code>IAM_ACCESS_KEY</code>, <code>LAMBDA_FUNCTION</code>, <code>EKS_CLUSTER</code>, <code>ECS_CLUSTER</code>, <code>KUBERNETES_WORKLOAD</code>, <code>RDS_INSTANCE</code>, <code>RDS_DB_USER</code>, and <code>EC2_SECURITY_GROUP</code>.</p>"""
    data: NotRequired[
        "capo_guardduty.types.investigation_resource_data.InvestigationResourceData"
    ]
    """<p>Details that are specific to the type of the resource.</p>"""

data instance-attribute

data: NotRequired[InvestigationResourceData]

Details that are specific to the type of the resource.

name instance-attribute

name: NotRequired[String]

The name of the resource.

resource_type instance-attribute

resource_type: NotRequired[InvestigationResourceType]

The type of the resource. Possible values are EC2_INSTANCE, EBS_VOLUME, S3_BUCKET, IAM_ROLE, IAM_USER, IAM_ACCESS_KEY, LAMBDA_FUNCTION, EKS_CLUSTER, ECS_CLUSTER, KUBERNETES_WORKLOAD, RDS_INSTANCE, RDS_DB_USER, and EC2_SECURITY_GROUP.

uid instance-attribute

uid: NotRequired[String]

The unique identifier of the resource. This is the Amazon Resource Name (ARN) of the resource when it's available. Otherwise, it's the name or ID of the resource.