You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IAM::Types::InstanceProfile

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Contains information about an instance profile.

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

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 Using IAM guide.

Returns:

  • (String)

    The Amazon Resource Name (ARN) specifying the instance profile.

#create_dateTime

The date when the instance profile was created.

Returns:

  • (Time)

    The date when the instance profile was created.

#instance_profile_idString

The stable and unique string identifying the instance profile. For more information about IDs, see IAM Identifiers in the Using IAM guide.

Returns:

  • (String)

    The stable and unique string identifying the instance profile.

#instance_profile_nameString

The name identifying the instance profile.

Returns:

  • (String)

    The name identifying the instance profile.

#pathString

The path to the instance profile. For more information about paths, see IAM Identifiers in the Using IAM guide.

Returns:

  • (String)

    The path to the instance profile.

#rolesArray<Types::Role>

The role associated with the instance profile.

Returns:

  • (Array<Types::Role>)

    The role associated with the instance profile.