Class: Aws::RedshiftServerless::Types::CreateNamespaceRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:admin_username, :admin_user_password]

Instance Attribute Summary collapse

Instance Attribute Details

#admin_password_secret_kms_key_id ⇒ String

The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.

Returns:

  • (String)


318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 318

class CreateNamespaceRequest < Struct.new(
  :namespace_name,
  :admin_username,
  :admin_user_password,
  :db_name,
  :kms_key_id,
  :default_iam_role_arn,
  :iam_roles,
  :log_exports,
  :tags,
  :manage_admin_password,
  :admin_password_secret_kms_key_id,
  :redshift_idc_application_arn,
  :identity_configuration)
  SENSITIVE = [:admin_username, :admin_user_password]
  include Aws::Structure
end

#admin_user_password ⇒ String

The password of the administrator for the first database created in the namespace.

You can't use adminUserPassword if manageAdminPassword is true.

Returns:

  • (String)


318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 318

class CreateNamespaceRequest < Struct.new(
  :namespace_name,
  :admin_username,
  :admin_user_password,
  :db_name,
  :kms_key_id,
  :default_iam_role_arn,
  :iam_roles,
  :log_exports,
  :tags,
  :manage_admin_password,
  :admin_password_secret_kms_key_id,
  :redshift_idc_application_arn,
  :identity_configuration)
  SENSITIVE = [:admin_username, :admin_user_password]
  include Aws::Structure
end

#admin_username ⇒ String

The username of the administrator for the first database created in the namespace.

Returns:

  • (String)


318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 318

class CreateNamespaceRequest < Struct.new(
  :namespace_name,
  :admin_username,
  :admin_user_password,
  :db_name,
  :kms_key_id,
  :default_iam_role_arn,
  :iam_roles,
  :log_exports,
  :tags,
  :manage_admin_password,
  :admin_password_secret_kms_key_id,
  :redshift_idc_application_arn,
  :identity_configuration)
  SENSITIVE = [:admin_username, :admin_user_password]
  include Aws::Structure
end

#db_name ⇒ String

The name of the first database created in the namespace.

Returns:

  • (String)


318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 318

class CreateNamespaceRequest < Struct.new(
  :namespace_name,
  :admin_username,
  :admin_user_password,
  :db_name,
  :kms_key_id,
  :default_iam_role_arn,
  :iam_roles,
  :log_exports,
  :tags,
  :manage_admin_password,
  :admin_password_secret_kms_key_id,
  :redshift_idc_application_arn,
  :identity_configuration)
  SENSITIVE = [:admin_username, :admin_user_password]
  include Aws::Structure
end

#default_iam_role_arn ⇒ String

The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

Returns:

  • (String)


318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 318

class CreateNamespaceRequest < Struct.new(
  :namespace_name,
  :admin_username,
  :admin_user_password,
  :db_name,
  :kms_key_id,
  :default_iam_role_arn,
  :iam_roles,
  :log_exports,
  :tags,
  :manage_admin_password,
  :admin_password_secret_kms_key_id,
  :redshift_idc_application_arn,
  :identity_configuration)
  SENSITIVE = [:admin_username, :admin_user_password]
  include Aws::Structure
end

#iam_roles ⇒ Array<String>

A list of IAM roles to associate with the namespace.

Returns:

  • (Array<String>)


318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 318

class CreateNamespaceRequest < Struct.new(
  :namespace_name,
  :admin_username,
  :admin_user_password,
  :db_name,
  :kms_key_id,
  :default_iam_role_arn,
  :iam_roles,
  :log_exports,
  :tags,
  :manage_admin_password,
  :admin_password_secret_kms_key_id,
  :redshift_idc_application_arn,
  :identity_configuration)
  SENSITIVE = [:admin_username, :admin_user_password]
  include Aws::Structure
end

#identity_configuration ⇒ Types::IdentityConfiguration

The identity configuration for the namespace.



318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 318

class CreateNamespaceRequest < Struct.new(
  :namespace_name,
  :admin_username,
  :admin_user_password,
  :db_name,
  :kms_key_id,
  :default_iam_role_arn,
  :iam_roles,
  :log_exports,
  :tags,
  :manage_admin_password,
  :admin_password_secret_kms_key_id,
  :redshift_idc_application_arn,
  :identity_configuration)
  SENSITIVE = [:admin_username, :admin_user_password]
  include Aws::Structure
end

#kms_key_id ⇒ String

The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

Returns:

  • (String)


318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 318

class CreateNamespaceRequest < Struct.new(
  :namespace_name,
  :admin_username,
  :admin_user_password,
  :db_name,
  :kms_key_id,
  :default_iam_role_arn,
  :iam_roles,
  :log_exports,
  :tags,
  :manage_admin_password,
  :admin_password_secret_kms_key_id,
  :redshift_idc_application_arn,
  :identity_configuration)
  SENSITIVE = [:admin_username, :admin_user_password]
  include Aws::Structure
end

#log_exports ⇒ Array<String>

The types of logs the namespace can export. Available export types are userlog, connectionlog, and useractivitylog.

Returns:

  • (Array<String>)


318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 318

class CreateNamespaceRequest < Struct.new(
  :namespace_name,
  :admin_username,
  :admin_user_password,
  :db_name,
  :kms_key_id,
  :default_iam_role_arn,
  :iam_roles,
  :log_exports,
  :tags,
  :manage_admin_password,
  :admin_password_secret_kms_key_id,
  :redshift_idc_application_arn,
  :identity_configuration)
  SENSITIVE = [:admin_username, :admin_user_password]
  include Aws::Structure
end

#manage_admin_password ⇒ Boolean

If true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. You can't use adminUserPassword if manageAdminPassword is true. If manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword for the admin user account's password.

Returns:

  • (Boolean)


318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 318

class CreateNamespaceRequest < Struct.new(
  :namespace_name,
  :admin_username,
  :admin_user_password,
  :db_name,
  :kms_key_id,
  :default_iam_role_arn,
  :iam_roles,
  :log_exports,
  :tags,
  :manage_admin_password,
  :admin_password_secret_kms_key_id,
  :redshift_idc_application_arn,
  :identity_configuration)
  SENSITIVE = [:admin_username, :admin_user_password]
  include Aws::Structure
end

#namespace_name ⇒ String

The name of the namespace.

Returns:

  • (String)


318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 318

class CreateNamespaceRequest < Struct.new(
  :namespace_name,
  :admin_username,
  :admin_user_password,
  :db_name,
  :kms_key_id,
  :default_iam_role_arn,
  :iam_roles,
  :log_exports,
  :tags,
  :manage_admin_password,
  :admin_password_secret_kms_key_id,
  :redshift_idc_application_arn,
  :identity_configuration)
  SENSITIVE = [:admin_username, :admin_user_password]
  include Aws::Structure
end

#redshift_idc_application_arn ⇒ String

The ARN for the Redshift application that integrates with IAM Identity Center.

Returns:

  • (String)


318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 318

class CreateNamespaceRequest < Struct.new(
  :namespace_name,
  :admin_username,
  :admin_user_password,
  :db_name,
  :kms_key_id,
  :default_iam_role_arn,
  :iam_roles,
  :log_exports,
  :tags,
  :manage_admin_password,
  :admin_password_secret_kms_key_id,
  :redshift_idc_application_arn,
  :identity_configuration)
  SENSITIVE = [:admin_username, :admin_user_password]
  include Aws::Structure
end

#tags ⇒ Array<Types::Tag>

A list of tag instances.

Returns:



318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 318

class CreateNamespaceRequest < Struct.new(
  :namespace_name,
  :admin_username,
  :admin_user_password,
  :db_name,
  :kms_key_id,
  :default_iam_role_arn,
  :iam_roles,
  :log_exports,
  :tags,
  :manage_admin_password,
  :admin_password_secret_kms_key_id,
  :redshift_idc_application_arn,
  :identity_configuration)
  SENSITIVE = [:admin_username, :admin_user_password]
  include Aws::Structure
end