Skip to content

EC2  >  Structures  >  IamInstanceProfileAssociation

IamInstanceProfileAssociation

Structure Class

IamInstanceProfileAssociation dataclass

Bases: _SerdeShape

Describes an association between an IAM instance profile and an instance.

Attributes

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

The ID of the association.

iam_instance_profile class-attribute instance-attribute
iam_instance_profile: IamInstanceProfile | None = ...

The IAM instance profile.

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

The ID of the instance.

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

The state of the association.

timestamp class-attribute instance-attribute
timestamp: datetime | None = ...

The time the IAM instance profile was associated with the instance.