Class: Aws::RedshiftServerless::Types::PrincipalOutput

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

Overview

Note:

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

An identity principal returned in a role association.

Defined Under Namespace

Classes: Iam, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#iam ⇒ Types::IamPrincipalOutput

An IAM role or IAM user.



3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3086

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

  class Iam < PrincipalOutput; end
  class Unknown < PrincipalOutput; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



3086
3087
3088
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3086

def unknown
  @unknown
end