AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::SecurityHub::Types::AwsIamInstanceProfileRole

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

Overview

Note:

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

{
  arn: "NonEmptyString",
  assume_role_policy_document: "AwsIamRoleAssumeRolePolicyDocument",
  create_date: "NonEmptyString",
  path: "NonEmptyString",
  role_id: "NonEmptyString",
  role_name: "NonEmptyString",
}

Information about a role associated with an instance profile.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the role.

Returns:

  • (String)

    The ARN of the role.

#assume_role_policy_documentString

The policy that grants an entity permission to assume the role.

Returns:

  • (String)

    The policy that grants an entity permission to assume the role.

#create_dateString

Indicates when the role 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 role was created.

#pathString

The path to the role.

Returns:

  • (String)

    The path to the role.

#role_idString

The identifier of the role.

Returns:

  • (String)

    The identifier of the role.

#role_nameString

The name of the role.

Returns:

  • (String)

    The name of the role.