Skip to content

AffectedResource

Structure Class

AffectedResource dataclass

Bases: _SerdeShape

Contains information about a resource that an action applies to.

Attributes

arn class-attribute instance-attribute
arn: str | None = ...

The Amazon Resource Name (ARN) of the resource.

identifier class-attribute instance-attribute
identifier: str | None = ...

The identifier of the resource.

type class-attribute instance-attribute
type: str | None = ...

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.