Skip to content

AffectedResource

Source code in docs_src/capo_guardduty/types/affected_resource.py
class AffectedResource(TypedDict, closed=True):
    identifier: NotRequired["capo_guardduty.types.string.String"]
    """<p>The identifier of the resource.</p>"""
    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>"""
    arn: NotRequired["capo_guardduty.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the resource.</p>"""

arn instance-attribute

arn: NotRequired[String]

The Amazon Resource Name (ARN) of the resource.

identifier instance-attribute

identifier: NotRequired[String]

The identifier of the resource.

type instance-attribute

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.