Class: Aws::RedshiftServerless::Types::PrincipalInput

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

Overview

Note:

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

An identity principal to associate with or remove from a role type. Only IAM principals are supported.

Defined Under Namespace

Classes: Iam, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#iam ⇒ Types::IamPrincipalInput

An IAM role or IAM user.



3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3065

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

  class Iam < PrincipalInput; end
  class Unknown < PrincipalInput; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



3065
3066
3067
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3065

def unknown
  @unknown
end