Skip to content

IAM  >  Structures  >  InstanceProfile

InstanceProfile

Structure Class

InstanceProfile dataclass

Bases: _SerdeShape

Contains information about an instance profile.

This data type is used as a response element in the following operations:

Attributes

arn instance-attribute
arn: str

The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.

create_date instance-attribute
create_date: datetime

The date when the instance profile was created.

instance_profile_id instance-attribute
instance_profile_id: str

The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.

instance_profile_name instance-attribute
instance_profile_name: str

The name identifying the instance profile.

path instance-attribute
path: str

The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.

roles instance-attribute
roles: list[Role]

The role associated with the instance profile.

tags class-attribute instance-attribute
tags: list[Tag] | None = ...

A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.