Class: Aws::AccountAccess::Types::PrincipalRoleEntitlementDetails

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

Overview

Contains detailed information about a principal-to-role entitlement, including the target account.

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)


758
759
760
761
762
763
764
765
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 758

class PrincipalRoleEntitlementDetails < 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)


758
759
760
761
762
763
764
765
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 758

class PrincipalRoleEntitlementDetails < 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:



758
759
760
761
762
763
764
765
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 758

class PrincipalRoleEntitlementDetails < 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)


758
759
760
761
762
763
764
765
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 758

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