IAM Instance Profile

An IAM Instance Profile in AWS is a container for an IAM role that can be attached to an EC2 instance. It allows the instance to obtain temporary security credentials and access AWS services without embedding long-term credentials in the instance. This provides secure and manageable access control for applications running on EC2.

aws.iam_instance_profile

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
arncorestringThe 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_datecoretimestampThe date when the instance profile was created.
instance_profilecorejsonA structure containing details about the instance profile.
instance_profile_idcorestringThe stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.
instance_profile_namecorestringThe name identifying the instance profile.
pathcorestringThe path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.
rolescorejsonThe role associated with the instance profile.
tagscorehstore