Class: Aws::AccountAccess::Types::Entitlement

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

Overview

Note:

Entitlement is a union - when making an API calls you must set exactly one of the members.

Specifies the entitlement configuration for an account access manager application, defining which principal can assume which IAM role.

Defined Under Namespace

Classes: PrincipalRole, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#principal_roleTypes::PrincipalRoleEntitlement

The principal-to-role mapping for the entitlement.



193
194
195
196
197
198
199
200
201
202
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 193

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

  class PrincipalRole < Entitlement; end
  class Unknown < Entitlement; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



193
194
195
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 193

def unknown
  @unknown
end