Namespace

class Namespace : KotlinCustomResource

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.redshiftserverless.Namespace("example", {namespaceName: "concurrency-scaling"});
import pulumi
import pulumi_aws as aws
example = aws.redshiftserverless.Namespace("example", namespace_name="concurrency-scaling")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.RedshiftServerless.Namespace("example", new()
{
NamespaceName = "concurrency-scaling",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/redshiftserverless"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := redshiftserverless.NewNamespace(ctx, "example", &redshiftserverless.NamespaceArgs{
NamespaceName: pulumi.String("concurrency-scaling"),
})
if err != nil {
return err
}
return nil
})
}
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());
}
}
resources:
example:
type: aws:redshiftserverless:Namespace
properties:
namespaceName: concurrency-scaling

Import

Using pulumi import, import Redshift Serverless Namespaces using the namespace_name. For example:

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

Properties

Link copied to clipboard

Amazon Resource Name (ARN) of namespace's admin user credentials secret.

Link copied to clipboard

ID of the KMS key used to encrypt the namespace's admin credentials secret.

Link copied to clipboard
val adminUsername: Output<String>

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

Link copied to clipboard

The password of the administrator for the first database created in the namespace. Conflicts with manage_admin_password and admin_user_password_wo.

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name (ARN) of the Redshift Serverless Namespace.

Link copied to clipboard
val dbName: Output<String>

The name of the first database created in the namespace.

Link copied to clipboard

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>>

A list of IAM roles to associate with the namespace.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val kmsKeyId: Output<String>

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>>?

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

Link copied to clipboard

Whether to use AWS SecretManager to manage namespace's admin credentials. Conflicts with admin_user_password and admin_user_password_wo.

Link copied to clipboard
val namespaceId: Output<String>

The Redshift Namespace ID.

Link copied to clipboard
val namespaceName: Output<String>

The name of the namespace.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

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.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>