NamespaceArgs

data class NamespaceArgs(val adminUserPassword: Output<String>? = null, val adminUsername: Output<String>? = null, val dbName: Output<String>? = null, val defaultIamRoleArn: Output<String>? = null, val iamRoles: Output<List<String>>? = null, val kmsKeyId: Output<String>? = null, val logExports: Output<List<String>>? = null, val namespaceName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<NamespaceArgs>

Creates a new Amazon Redshift Serverless Namespace.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.redshiftserverless.Namespace;
import com.pulumi.aws.redshiftserverless.NamespaceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Namespace("example", NamespaceArgs.builder()
.namespaceName("concurrency-scaling")
.build());
}
}

Import

Redshift Serverless Namespaces can be imported using the namespace_name, e.g.,

$ pulumi import aws:redshiftserverless/namespace:Namespace example example

Constructors

Link copied to clipboard
constructor(adminUserPassword: Output<String>? = null, adminUsername: Output<String>? = null, dbName: Output<String>? = null, defaultIamRoleArn: Output<String>? = null, iamRoles: Output<List<String>>? = null, kmsKeyId: Output<String>? = null, logExports: Output<List<String>>? = null, namespaceName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val adminUsername: Output<String>? = null

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

Link copied to clipboard
val adminUserPassword: Output<String>? = null

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

Link copied to clipboard
val dbName: Output<String>? = null

The name of the first database created in the namespace.

Link copied to clipboard
val defaultIamRoleArn: Output<String>? = null

The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. When specifying default_iam_role_arn, it also must be part of iam_roles.

Link copied to clipboard
val iamRoles: Output<List<String>>? = null

A list of IAM roles to associate with the namespace.

Link copied to clipboard
val kmsKeyId: Output<String>? = null

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

Link copied to clipboard
val logExports: Output<List<String>>? = null

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

Link copied to clipboard
val namespaceName: Output<String>? = null

The name of the namespace.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

Link copied to clipboard
open override fun toJava(): NamespaceArgs