aws.redshiftserverless.Namespace
Explore with Pulumi AI
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")
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
	})
}
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 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
Create Namespace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Namespace(name: string, args: NamespaceArgs, opts?: CustomResourceOptions);@overload
def Namespace(resource_name: str,
              args: NamespaceArgs,
              opts: Optional[ResourceOptions] = None)
@overload
def Namespace(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              namespace_name: Optional[str] = None,
              admin_password_secret_kms_key_id: Optional[str] = None,
              admin_user_password: Optional[str] = None,
              admin_username: Optional[str] = None,
              db_name: Optional[str] = None,
              default_iam_role_arn: Optional[str] = None,
              iam_roles: Optional[Sequence[str]] = None,
              kms_key_id: Optional[str] = None,
              log_exports: Optional[Sequence[str]] = None,
              manage_admin_password: Optional[bool] = None,
              tags: Optional[Mapping[str, str]] = None)func NewNamespace(ctx *Context, name string, args NamespaceArgs, opts ...ResourceOption) (*Namespace, error)public Namespace(string name, NamespaceArgs args, CustomResourceOptions? opts = null)
public Namespace(String name, NamespaceArgs args)
public Namespace(String name, NamespaceArgs args, CustomResourceOptions options)
type: aws:redshiftserverless:Namespace
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NamespaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NamespaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NamespaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NamespaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NamespaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var awsNamespaceResource = new Aws.RedshiftServerless.Namespace("awsNamespaceResource", new()
{
    NamespaceName = "string",
    AdminPasswordSecretKmsKeyId = "string",
    AdminUserPassword = "string",
    AdminUsername = "string",
    DbName = "string",
    DefaultIamRoleArn = "string",
    IamRoles = new[]
    {
        "string",
    },
    KmsKeyId = "string",
    LogExports = new[]
    {
        "string",
    },
    ManageAdminPassword = false,
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := redshiftserverless.NewNamespace(ctx, "awsNamespaceResource", &redshiftserverless.NamespaceArgs{
	NamespaceName:               pulumi.String("string"),
	AdminPasswordSecretKmsKeyId: pulumi.String("string"),
	AdminUserPassword:           pulumi.String("string"),
	AdminUsername:               pulumi.String("string"),
	DbName:                      pulumi.String("string"),
	DefaultIamRoleArn:           pulumi.String("string"),
	IamRoles: pulumi.StringArray{
		pulumi.String("string"),
	},
	KmsKeyId: pulumi.String("string"),
	LogExports: pulumi.StringArray{
		pulumi.String("string"),
	},
	ManageAdminPassword: pulumi.Bool(false),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var awsNamespaceResource = new Namespace("awsNamespaceResource", NamespaceArgs.builder()
    .namespaceName("string")
    .adminPasswordSecretKmsKeyId("string")
    .adminUserPassword("string")
    .adminUsername("string")
    .dbName("string")
    .defaultIamRoleArn("string")
    .iamRoles("string")
    .kmsKeyId("string")
    .logExports("string")
    .manageAdminPassword(false)
    .tags(Map.of("string", "string"))
    .build());
aws_namespace_resource = aws.redshiftserverless.Namespace("awsNamespaceResource",
    namespace_name="string",
    admin_password_secret_kms_key_id="string",
    admin_user_password="string",
    admin_username="string",
    db_name="string",
    default_iam_role_arn="string",
    iam_roles=["string"],
    kms_key_id="string",
    log_exports=["string"],
    manage_admin_password=False,
    tags={
        "string": "string",
    })
const awsNamespaceResource = new aws.redshiftserverless.Namespace("awsNamespaceResource", {
    namespaceName: "string",
    adminPasswordSecretKmsKeyId: "string",
    adminUserPassword: "string",
    adminUsername: "string",
    dbName: "string",
    defaultIamRoleArn: "string",
    iamRoles: ["string"],
    kmsKeyId: "string",
    logExports: ["string"],
    manageAdminPassword: false,
    tags: {
        string: "string",
    },
});
type: aws:redshiftserverless:Namespace
properties:
    adminPasswordSecretKmsKeyId: string
    adminUserPassword: string
    adminUsername: string
    dbName: string
    defaultIamRoleArn: string
    iamRoles:
        - string
    kmsKeyId: string
    logExports:
        - string
    manageAdminPassword: false
    namespaceName: string
    tags:
        string: string
Namespace Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Namespace resource accepts the following input properties:
- NamespaceName string
- The name of the namespace.
- AdminPassword stringSecret Kms Key Id 
- ID of the KMS key used to encrypt the namespace's admin credentials secret.
- AdminUser stringPassword 
- The password of the administrator for the first database created in the namespace.
Conflicts with manage_admin_passwordandadmin_user_password_wo.
- AdminUsername string
- The username of the administrator for the first database created in the namespace.
- DbName string
- The name of the first database created in the namespace.
- DefaultIam stringRole Arn 
- 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 ofiam_roles.
- IamRoles List<string>
- A list of IAM roles to associate with the namespace.
- KmsKey stringId 
- The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- LogExports List<string>
- The types of logs the namespace can export. Available export types are userlog,connectionlog, anduseractivitylog.
- ManageAdmin boolPassword 
- Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with admin_user_passwordandadmin_user_password_wo.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- NamespaceName string
- The name of the namespace.
- AdminPassword stringSecret Kms Key Id 
- ID of the KMS key used to encrypt the namespace's admin credentials secret.
- AdminUser stringPassword 
- The password of the administrator for the first database created in the namespace.
Conflicts with manage_admin_passwordandadmin_user_password_wo.
- AdminUsername string
- The username of the administrator for the first database created in the namespace.
- DbName string
- The name of the first database created in the namespace.
- DefaultIam stringRole Arn 
- 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 ofiam_roles.
- IamRoles []string
- A list of IAM roles to associate with the namespace.
- KmsKey stringId 
- The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- LogExports []string
- The types of logs the namespace can export. Available export types are userlog,connectionlog, anduseractivitylog.
- ManageAdmin boolPassword 
- Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with admin_user_passwordandadmin_user_password_wo.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- namespaceName String
- The name of the namespace.
- adminPassword StringSecret Kms Key Id 
- ID of the KMS key used to encrypt the namespace's admin credentials secret.
- adminUser StringPassword 
- The password of the administrator for the first database created in the namespace.
Conflicts with manage_admin_passwordandadmin_user_password_wo.
- adminUsername String
- The username of the administrator for the first database created in the namespace.
- dbName String
- The name of the first database created in the namespace.
- defaultIam StringRole Arn 
- 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 ofiam_roles.
- iamRoles List<String>
- A list of IAM roles to associate with the namespace.
- kmsKey StringId 
- The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- logExports List<String>
- The types of logs the namespace can export. Available export types are userlog,connectionlog, anduseractivitylog.
- manageAdmin BooleanPassword 
- Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with admin_user_passwordandadmin_user_password_wo.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- namespaceName string
- The name of the namespace.
- adminPassword stringSecret Kms Key Id 
- ID of the KMS key used to encrypt the namespace's admin credentials secret.
- adminUser stringPassword 
- The password of the administrator for the first database created in the namespace.
Conflicts with manage_admin_passwordandadmin_user_password_wo.
- adminUsername string
- The username of the administrator for the first database created in the namespace.
- dbName string
- The name of the first database created in the namespace.
- defaultIam stringRole Arn 
- 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 ofiam_roles.
- iamRoles string[]
- A list of IAM roles to associate with the namespace.
- kmsKey stringId 
- The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- logExports string[]
- The types of logs the namespace can export. Available export types are userlog,connectionlog, anduseractivitylog.
- manageAdmin booleanPassword 
- Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with admin_user_passwordandadmin_user_password_wo.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- namespace_name str
- The name of the namespace.
- admin_password_ strsecret_ kms_ key_ id 
- ID of the KMS key used to encrypt the namespace's admin credentials secret.
- admin_user_ strpassword 
- The password of the administrator for the first database created in the namespace.
Conflicts with manage_admin_passwordandadmin_user_password_wo.
- admin_username str
- The username of the administrator for the first database created in the namespace.
- db_name str
- The name of the first database created in the namespace.
- default_iam_ strrole_ arn 
- 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 ofiam_roles.
- iam_roles Sequence[str]
- A list of IAM roles to associate with the namespace.
- kms_key_ strid 
- The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- log_exports Sequence[str]
- The types of logs the namespace can export. Available export types are userlog,connectionlog, anduseractivitylog.
- manage_admin_ boolpassword 
- Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with admin_user_passwordandadmin_user_password_wo.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- namespaceName String
- The name of the namespace.
- adminPassword StringSecret Kms Key Id 
- ID of the KMS key used to encrypt the namespace's admin credentials secret.
- adminUser StringPassword 
- The password of the administrator for the first database created in the namespace.
Conflicts with manage_admin_passwordandadmin_user_password_wo.
- adminUsername String
- The username of the administrator for the first database created in the namespace.
- dbName String
- The name of the first database created in the namespace.
- defaultIam StringRole Arn 
- 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 ofiam_roles.
- iamRoles List<String>
- A list of IAM roles to associate with the namespace.
- kmsKey StringId 
- The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- logExports List<String>
- The types of logs the namespace can export. Available export types are userlog,connectionlog, anduseractivitylog.
- manageAdmin BooleanPassword 
- Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with admin_user_passwordandadmin_user_password_wo.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the Namespace resource produces the following output properties:
- AdminPassword stringSecret Arn 
- Amazon Resource Name (ARN) of namespace's admin user credentials secret.
- Arn string
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- Id string
- The provider-assigned unique ID for this managed resource.
- NamespaceId string
- The Redshift Namespace ID.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- AdminPassword stringSecret Arn 
- Amazon Resource Name (ARN) of namespace's admin user credentials secret.
- Arn string
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- Id string
- The provider-assigned unique ID for this managed resource.
- NamespaceId string
- The Redshift Namespace ID.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- adminPassword StringSecret Arn 
- Amazon Resource Name (ARN) of namespace's admin user credentials secret.
- arn String
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- id String
- The provider-assigned unique ID for this managed resource.
- namespaceId String
- The Redshift Namespace ID.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- adminPassword stringSecret Arn 
- Amazon Resource Name (ARN) of namespace's admin user credentials secret.
- arn string
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- id string
- The provider-assigned unique ID for this managed resource.
- namespaceId string
- The Redshift Namespace ID.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- admin_password_ strsecret_ arn 
- Amazon Resource Name (ARN) of namespace's admin user credentials secret.
- arn str
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- id str
- The provider-assigned unique ID for this managed resource.
- namespace_id str
- The Redshift Namespace ID.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- adminPassword StringSecret Arn 
- Amazon Resource Name (ARN) of namespace's admin user credentials secret.
- arn String
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- id String
- The provider-assigned unique ID for this managed resource.
- namespaceId String
- The Redshift Namespace ID.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
Look up Existing Namespace Resource
Get an existing Namespace resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NamespaceState, opts?: CustomResourceOptions): Namespace@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        admin_password_secret_arn: Optional[str] = None,
        admin_password_secret_kms_key_id: Optional[str] = None,
        admin_user_password: Optional[str] = None,
        admin_username: Optional[str] = None,
        arn: Optional[str] = None,
        db_name: Optional[str] = None,
        default_iam_role_arn: Optional[str] = None,
        iam_roles: Optional[Sequence[str]] = None,
        kms_key_id: Optional[str] = None,
        log_exports: Optional[Sequence[str]] = None,
        manage_admin_password: Optional[bool] = None,
        namespace_id: Optional[str] = None,
        namespace_name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None) -> Namespacefunc GetNamespace(ctx *Context, name string, id IDInput, state *NamespaceState, opts ...ResourceOption) (*Namespace, error)public static Namespace Get(string name, Input<string> id, NamespaceState? state, CustomResourceOptions? opts = null)public static Namespace get(String name, Output<String> id, NamespaceState state, CustomResourceOptions options)resources:  _:    type: aws:redshiftserverless:Namespace    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AdminPassword stringSecret Arn 
- Amazon Resource Name (ARN) of namespace's admin user credentials secret.
- AdminPassword stringSecret Kms Key Id 
- ID of the KMS key used to encrypt the namespace's admin credentials secret.
- AdminUser stringPassword 
- The password of the administrator for the first database created in the namespace.
Conflicts with manage_admin_passwordandadmin_user_password_wo.
- AdminUsername string
- The username of the administrator for the first database created in the namespace.
- Arn string
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- DbName string
- The name of the first database created in the namespace.
- DefaultIam stringRole Arn 
- 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 ofiam_roles.
- IamRoles List<string>
- A list of IAM roles to associate with the namespace.
- KmsKey stringId 
- The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- LogExports List<string>
- The types of logs the namespace can export. Available export types are userlog,connectionlog, anduseractivitylog.
- ManageAdmin boolPassword 
- Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with admin_user_passwordandadmin_user_password_wo.
- NamespaceId string
- The Redshift Namespace ID.
- NamespaceName string
- The name of the namespace.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- AdminPassword stringSecret Arn 
- Amazon Resource Name (ARN) of namespace's admin user credentials secret.
- AdminPassword stringSecret Kms Key Id 
- ID of the KMS key used to encrypt the namespace's admin credentials secret.
- AdminUser stringPassword 
- The password of the administrator for the first database created in the namespace.
Conflicts with manage_admin_passwordandadmin_user_password_wo.
- AdminUsername string
- The username of the administrator for the first database created in the namespace.
- Arn string
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- DbName string
- The name of the first database created in the namespace.
- DefaultIam stringRole Arn 
- 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 ofiam_roles.
- IamRoles []string
- A list of IAM roles to associate with the namespace.
- KmsKey stringId 
- The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- LogExports []string
- The types of logs the namespace can export. Available export types are userlog,connectionlog, anduseractivitylog.
- ManageAdmin boolPassword 
- Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with admin_user_passwordandadmin_user_password_wo.
- NamespaceId string
- The Redshift Namespace ID.
- NamespaceName string
- The name of the namespace.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- adminPassword StringSecret Arn 
- Amazon Resource Name (ARN) of namespace's admin user credentials secret.
- adminPassword StringSecret Kms Key Id 
- ID of the KMS key used to encrypt the namespace's admin credentials secret.
- adminUser StringPassword 
- The password of the administrator for the first database created in the namespace.
Conflicts with manage_admin_passwordandadmin_user_password_wo.
- adminUsername String
- The username of the administrator for the first database created in the namespace.
- arn String
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- dbName String
- The name of the first database created in the namespace.
- defaultIam StringRole Arn 
- 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 ofiam_roles.
- iamRoles List<String>
- A list of IAM roles to associate with the namespace.
- kmsKey StringId 
- The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- logExports List<String>
- The types of logs the namespace can export. Available export types are userlog,connectionlog, anduseractivitylog.
- manageAdmin BooleanPassword 
- Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with admin_user_passwordandadmin_user_password_wo.
- namespaceId String
- The Redshift Namespace ID.
- namespaceName String
- The name of the namespace.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- adminPassword stringSecret Arn 
- Amazon Resource Name (ARN) of namespace's admin user credentials secret.
- adminPassword stringSecret Kms Key Id 
- ID of the KMS key used to encrypt the namespace's admin credentials secret.
- adminUser stringPassword 
- The password of the administrator for the first database created in the namespace.
Conflicts with manage_admin_passwordandadmin_user_password_wo.
- adminUsername string
- The username of the administrator for the first database created in the namespace.
- arn string
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- dbName string
- The name of the first database created in the namespace.
- defaultIam stringRole Arn 
- 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 ofiam_roles.
- iamRoles string[]
- A list of IAM roles to associate with the namespace.
- kmsKey stringId 
- The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- logExports string[]
- The types of logs the namespace can export. Available export types are userlog,connectionlog, anduseractivitylog.
- manageAdmin booleanPassword 
- Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with admin_user_passwordandadmin_user_password_wo.
- namespaceId string
- The Redshift Namespace ID.
- namespaceName string
- The name of the namespace.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- admin_password_ strsecret_ arn 
- Amazon Resource Name (ARN) of namespace's admin user credentials secret.
- admin_password_ strsecret_ kms_ key_ id 
- ID of the KMS key used to encrypt the namespace's admin credentials secret.
- admin_user_ strpassword 
- The password of the administrator for the first database created in the namespace.
Conflicts with manage_admin_passwordandadmin_user_password_wo.
- admin_username str
- The username of the administrator for the first database created in the namespace.
- arn str
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- db_name str
- The name of the first database created in the namespace.
- default_iam_ strrole_ arn 
- 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 ofiam_roles.
- iam_roles Sequence[str]
- A list of IAM roles to associate with the namespace.
- kms_key_ strid 
- The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- log_exports Sequence[str]
- The types of logs the namespace can export. Available export types are userlog,connectionlog, anduseractivitylog.
- manage_admin_ boolpassword 
- Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with admin_user_passwordandadmin_user_password_wo.
- namespace_id str
- The Redshift Namespace ID.
- namespace_name str
- The name of the namespace.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- adminPassword StringSecret Arn 
- Amazon Resource Name (ARN) of namespace's admin user credentials secret.
- adminPassword StringSecret Kms Key Id 
- ID of the KMS key used to encrypt the namespace's admin credentials secret.
- adminUser StringPassword 
- The password of the administrator for the first database created in the namespace.
Conflicts with manage_admin_passwordandadmin_user_password_wo.
- adminUsername String
- The username of the administrator for the first database created in the namespace.
- arn String
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- dbName String
- The name of the first database created in the namespace.
- defaultIam StringRole Arn 
- 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 ofiam_roles.
- iamRoles List<String>
- A list of IAM roles to associate with the namespace.
- kmsKey StringId 
- The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- logExports List<String>
- The types of logs the namespace can export. Available export types are userlog,connectionlog, anduseractivitylog.
- manageAdmin BooleanPassword 
- Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with admin_user_passwordandadmin_user_password_wo.
- namespaceId String
- The Redshift Namespace ID.
- namespaceName String
- The name of the namespace.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
Import
Using pulumi import, import Redshift Serverless Namespaces using the namespace_name. For example:
$ pulumi import aws:redshiftserverless/namespace:Namespace example example
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.