Class: Aws::AccountAccess::Types::PrincipalRoleEntitlementSummary

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

Overview

Contains summary information about a principal-to-role entitlement.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accountString

The 12-digit Amazon Web Services account ID where the IAM role resides.

Returns:

  • (String)


816
817
818
819
820
821
822
823
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 816

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

#account_nameString

The friendly name of the Amazon Web Services account where the IAM role resides.

Returns:

  • (String)


816
817
818
819
820
821
822
823
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 816

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

#principalTypes::Principal

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

Returns:



816
817
818
819
820
821
822
823
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 816

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

#role_arnString

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

Returns:

  • (String)


816
817
818
819
820
821
822
823
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 816

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