Class: Aws::AccountAccessRuntime::Types::AccessDetails

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

Overview

Describes a role that you can access, including the Amazon Web Services account that contains the role and the role's ARN.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_id ⇒ String

The 12-digit identifier of the Amazon Web Services account that contains the role.

Returns:

  • (String)


47
48
49
50
51
52
53
# File 'gems/aws-sdk-accountaccessruntime/lib/aws-sdk-accountaccessruntime/types.rb', line 47

class AccessDetails < Struct.new(
  :account_id,
  :account_name,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#account_name ⇒ String

The display name of the Amazon Web Services account, if available. This value can be absent when the account name can't be resolved.

Returns:

  • (String)


47
48
49
50
51
52
53
# File 'gems/aws-sdk-accountaccessruntime/lib/aws-sdk-accountaccessruntime/types.rb', line 47

class AccessDetails < Struct.new(
  :account_id,
  :account_name,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#role_arn ⇒ String

The Amazon Resource Name (ARN) of the role that you can access.

Returns:

  • (String)


47
48
49
50
51
52
53
# File 'gems/aws-sdk-accountaccessruntime/lib/aws-sdk-accountaccessruntime/types.rb', line 47

class AccessDetails < Struct.new(
  :account_id,
  :account_name,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end