Class: Aws::AccountAccess::Types::PrincipalRoleEntitlement

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb

Overview

Specifies a principal-to-role entitlement that grants an IAM Identity Center principal permission to assume an IAM role.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#principalTypes::Principal

The principal (user or group) that is granted access to assume the IAM role.

Returns:



727
728
729
730
731
732
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 727

class PrincipalRoleEntitlement < Struct.new(
  :principal,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The ARN of the IAM role that the principal can assume.

Returns:

  • (String)


727
728
729
730
731
732
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 727

class PrincipalRoleEntitlement < Struct.new(
  :principal,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end