Namespace Args
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());
}
}
Content copied to clipboard
Import
Using pulumi import
, import Redshift Serverless Namespaces using the namespace_name
. For example:
$ pulumi import aws:redshiftserverless/namespace:Namespace example example
Content copied to clipboard
Constructors
Link copied to clipboard
fun NamespaceArgs(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)