Class: Aws::AccountAccess::Types::EntitlementDetails

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

Overview

Note:

EntitlementDetails is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EntitlementDetails corresponding to the set member.

Contains detailed information about an entitlement, including the principal, IAM role, and target account.

Defined Under Namespace

Classes: PrincipalRole, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#principal_roleTypes::PrincipalRoleEntitlementDetails

The principal-to-role mapping details for the entitlement, including the target account.



216
217
218
219
220
221
222
223
224
225
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 216

class EntitlementDetails < Struct.new(
  :principal_role,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PrincipalRole < EntitlementDetails; end
  class Unknown < EntitlementDetails; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



216
217
218
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 216

def unknown
  @unknown
end