Class: Aws::RedshiftServerless::Types::PrincipalOutput
- Inherits:
-
Struct
- Object
- Struct
- Aws::RedshiftServerless::Types::PrincipalOutput
- 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
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#iam ⇒ Types::IamPrincipalOutput
An IAM role or IAM user.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
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
3086 3087 3088 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3086 def unknown @unknown end |