Class: Aws::Redshift::Types::AccountIdentityFederation

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

Overview

The account-level identity federation setting for Amazon Redshift in the current Amazon Web Services Region, which controls how a TIP for IAM federated user's login is handled. This is the default for provisioned clusters and Redshift Serverless namespaces in the Region that don't override it.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#mode ⇒ String

The identity federation mode for the account, which determines how a TIP for IAM federated user's login is handled. This is the default mode for provisioned clusters and Redshift Serverless namespaces in the Region that don't override it.

Default: DEFAULT

Valid values are:

  • DEFAULT – Preserves existing IAM role-based access and records the IAM federated user's subject in STL_CONNECTION_LOG. If the IAM role has no database user, the federated user logs in as the database user with the same name, which is created if it doesn't exist. The login fails if that database user exists but is not enabled for federation. Does not associate IdP groups with database roles.

  • FEDERATED – Logs the IAM federated user in as the database user with the same name, or creates that user if none exists. Does not associate IdP groups with database roles.

  • FEDERATED_WITH_GROUPS – Everything in FEDERATED. In addition, associates each IdP group with the existing database role with the same name. Associates a group with a system-defined role only if the system roles federation setting allows it.

Returns:

  • (String)


160
161
162
163
164
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 160

class AccountIdentityFederation < Struct.new(
  :mode)
  SENSITIVE = []
  include Aws::Structure
end