class Aws::SecurityHub::Types::AwsIamRoleDetails

Contains information about an IAM role, including all of the role's policies.

@note When making an API call, you may pass AwsIamRoleDetails

data as a hash:

    {
      assume_role_policy_document: "AwsIamRoleAssumeRolePolicyDocument",
      attached_managed_policies: [
        {
          policy_name: "NonEmptyString",
          policy_arn: "NonEmptyString",
        },
      ],
      create_date: "NonEmptyString",
      instance_profile_list: [
        {
          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",
            },
          ],
        },
      ],
      permissions_boundary: {
        permissions_boundary_arn: "NonEmptyString",
        permissions_boundary_type: "NonEmptyString",
      },
      role_id: "NonEmptyString",
      role_name: "NonEmptyString",
      role_policy_list: [
        {
          policy_name: "NonEmptyString",
        },
      ],
      max_session_duration: 1,
      path: "NonEmptyString",
    }

@!attribute [rw] assume_role_policy_document

The trust policy that grants permission to assume the role.
@return [String]

@!attribute [rw] attached_managed_policies

The list of the managed policies that are attached to the role.
@return [Array<Types::AwsIamAttachedManagedPolicy>]

@!attribute [rw] create_date

Indicates when the role was created.

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

[1]: https://tools.ietf.org/html/rfc3339#section-5.6
@return [String]

@!attribute [rw] instance_profile_list

The list of instance profiles that contain this role.
@return [Array<Types::AwsIamInstanceProfile>]

@!attribute [rw] permissions_boundary

Information about the policy used to set the permissions boundary
for an IAM principal.
@return [Types::AwsIamPermissionsBoundary]

@!attribute [rw] role_id

The stable and unique string identifying the role.
@return [String]

@!attribute [rw] role_name

The friendly name that identifies the role.
@return [String]

@!attribute [rw] role_policy_list

The list of inline policies that are embedded in the role.
@return [Array<Types::AwsIamRolePolicy>]

@!attribute [rw] max_session_duration

The maximum session duration (in seconds) that you want to set for
the specified role.
@return [Integer]

@!attribute [rw] path

The path to the role.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsIamRoleDetails AWS API Documentation

Constants

SENSITIVE