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

Class: Aws::SecurityHub::Types::AwsIamInstanceProfile

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

Overview

Note:

When passing AwsIamInstanceProfile as input to an Aws::Client method, you can use a vanilla Hash:

{
  arn: "NonEmptyString",
  create_date: "NonEmptyString",
  instance_profile_id: "NonEmptyString",
  instance_profile_name: "NonEmptyString",
  path: "NonEmptyString",
  roles: [
    {
      arn: "NonEmptyString",
      assume_role_policy_document: "AwsIamRoleAssumeRolePolicyDocument",
      create_date: "NonEmptyString",
      path: "NonEmptyString",
      role_id: "NonEmptyString",
      role_name: "NonEmptyString",
    },
  ],
}

Information about an instance profile.

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The ARN of the instance profile.

Returns:

  • (String) —

    The ARN of the instance profile.

#create_date ⇒ String

Indicates when the instance profile was created.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

Returns:

  • (String) —

    Indicates when the instance profile was created.

#instance_profile_id ⇒ String

The identifier of the instance profile.

Returns:

  • (String) —

    The identifier of the instance profile.

#instance_profile_name ⇒ String

The name of the instance profile.

Returns:

  • (String) —

    The name of the instance profile.

#path ⇒ String

The path to the instance profile.

Returns:

  • (String) —

    The path to the instance profile.

#roles ⇒ Array<Types::AwsIamInstanceProfileRole>

The roles associated with the instance profile.

Returns: