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

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

Overview

Constant Summary collapse

SENSITIVE =
[:admin_user_password, :admin_username]

Instance Attribute Summary collapse

Instance Attribute Details

#admin_password_secret_kms_key_idString

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)


309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 309

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

#admin_user_passwordString

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

You can’t use ‘adminUserPassword` if `manageAdminPassword` is true.

Returns:

  • (String)


309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 309

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

#admin_usernameString

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

Returns:

  • (String)


309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 309

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

#db_nameString

The name of the first database created in the namespace.

Returns:

  • (String)


309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 309

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

#default_iam_role_arnString

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

Returns:

  • (String)


309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 309

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

#iam_rolesArray<String>

A list of IAM roles to associate with the namespace.

Returns:

  • (Array<String>)


309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 309

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

#kms_key_idString

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

Returns:

  • (String)


309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 309

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

#log_exportsArray<String>

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

Returns:

  • (Array<String>)


309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 309

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

#manage_admin_passwordBoolean

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)


309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 309

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

#namespace_nameString

The name of the namespace.

Returns:

  • (String)


309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 309

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

#redshift_idc_application_arnString

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

Returns:

  • (String)


309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 309

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

#tagsArray<Types::Tag>

A list of tag instances.

Returns:



309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 309

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