1. Packages
  2. AWS
  3. API Docs
  4. redshiftserverless
  5. Namespace
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.redshiftserverless.Namespace

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Creates a new Amazon Redshift Serverless Namespace.

    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.
    AdminPasswordSecretKmsKeyId string
    ID of the KMS key used to encrypt the namespace's admin credentials secret.
    AdminUserPassword string
    The password of the administrator for the first database created in the namespace. Conflicts with manage_admin_password.
    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.
    DefaultIamRoleArn string
    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.
    IamRoles List<string>
    A list of IAM roles to associate with the namespace.
    KmsKeyId string
    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, and useractivitylog.
    ManageAdminPassword bool
    Whether to use AWS SecretManager to manage namespace's admin credentials. Conflicts with admin_user_password.
    Tags Dictionary<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.
    NamespaceName string
    The name of the namespace.
    AdminPasswordSecretKmsKeyId string
    ID of the KMS key used to encrypt the namespace's admin credentials secret.
    AdminUserPassword string
    The password of the administrator for the first database created in the namespace. Conflicts with manage_admin_password.
    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.
    DefaultIamRoleArn string
    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.
    IamRoles []string
    A list of IAM roles to associate with the namespace.
    KmsKeyId string
    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, and useractivitylog.
    ManageAdminPassword bool
    Whether to use AWS SecretManager to manage namespace's admin credentials. Conflicts with admin_user_password.
    Tags 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.
    namespaceName String
    The name of the namespace.
    adminPasswordSecretKmsKeyId String
    ID of the KMS key used to encrypt the namespace's admin credentials secret.
    adminUserPassword String
    The password of the administrator for the first database created in the namespace. Conflicts with manage_admin_password.
    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.
    defaultIamRoleArn String
    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.
    iamRoles List<String>
    A list of IAM roles to associate with the namespace.
    kmsKeyId String
    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, and useractivitylog.
    manageAdminPassword Boolean
    Whether to use AWS SecretManager to manage namespace's admin credentials. Conflicts with admin_user_password.
    tags 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.
    namespaceName string
    The name of the namespace.
    adminPasswordSecretKmsKeyId string
    ID of the KMS key used to encrypt the namespace's admin credentials secret.
    adminUserPassword string
    The password of the administrator for the first database created in the namespace. Conflicts with manage_admin_password.
    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.
    defaultIamRoleArn string
    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.
    iamRoles string[]
    A list of IAM roles to associate with the namespace.
    kmsKeyId string
    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, and useractivitylog.
    manageAdminPassword boolean
    Whether to use AWS SecretManager to manage namespace's admin credentials. Conflicts with admin_user_password.
    tags {[key: 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.
    namespace_name str
    The name of the namespace.
    admin_password_secret_kms_key_id str
    ID of the KMS key used to encrypt the namespace's admin credentials secret.
    admin_user_password str
    The password of the administrator for the first database created in the namespace. Conflicts with manage_admin_password.
    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_role_arn str
    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.
    iam_roles Sequence[str]
    A list of IAM roles to associate with the namespace.
    kms_key_id str
    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, and useractivitylog.
    manage_admin_password bool
    Whether to use AWS SecretManager to manage namespace's admin credentials. Conflicts with admin_user_password.
    tags Mapping[str, str]
    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.
    namespaceName String
    The name of the namespace.
    adminPasswordSecretKmsKeyId String
    ID of the KMS key used to encrypt the namespace's admin credentials secret.
    adminUserPassword String
    The password of the administrator for the first database created in the namespace. Conflicts with manage_admin_password.
    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.
    defaultIamRoleArn String
    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.
    iamRoles List<String>
    A list of IAM roles to associate with the namespace.
    kmsKeyId String
    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, and useractivitylog.
    manageAdminPassword Boolean
    Whether to use AWS SecretManager to manage namespace's admin credentials. Conflicts with admin_user_password.
    tags Map<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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Namespace resource produces the following output properties:

    AdminPasswordSecretArn string
    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.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    AdminPasswordSecretArn string
    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.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    adminPasswordSecretArn String
    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.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    adminPasswordSecretArn string
    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.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    admin_password_secret_arn str
    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.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    adminPasswordSecretArn String
    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.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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) -> Namespace
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    AdminPasswordSecretArn string
    AdminPasswordSecretKmsKeyId string
    ID of the KMS key used to encrypt the namespace's admin credentials secret.
    AdminUserPassword string
    The password of the administrator for the first database created in the namespace. Conflicts with manage_admin_password.
    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.
    DefaultIamRoleArn string
    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.
    IamRoles List<string>
    A list of IAM roles to associate with the namespace.
    KmsKeyId string
    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, and useractivitylog.
    ManageAdminPassword bool
    Whether to use AWS SecretManager to manage namespace's admin credentials. Conflicts with admin_user_password.
    NamespaceId string
    The Redshift Namespace ID.
    NamespaceName string
    The name of the namespace.
    Tags Dictionary<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.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    AdminPasswordSecretArn string
    AdminPasswordSecretKmsKeyId string
    ID of the KMS key used to encrypt the namespace's admin credentials secret.
    AdminUserPassword string
    The password of the administrator for the first database created in the namespace. Conflicts with manage_admin_password.
    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.
    DefaultIamRoleArn string
    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.
    IamRoles []string
    A list of IAM roles to associate with the namespace.
    KmsKeyId string
    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, and useractivitylog.
    ManageAdminPassword bool
    Whether to use AWS SecretManager to manage namespace's admin credentials. Conflicts with admin_user_password.
    NamespaceId string
    The Redshift Namespace ID.
    NamespaceName string
    The name of the namespace.
    Tags 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.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    adminPasswordSecretArn String
    adminPasswordSecretKmsKeyId String
    ID of the KMS key used to encrypt the namespace's admin credentials secret.
    adminUserPassword String
    The password of the administrator for the first database created in the namespace. Conflicts with manage_admin_password.
    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.
    defaultIamRoleArn String
    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.
    iamRoles List<String>
    A list of IAM roles to associate with the namespace.
    kmsKeyId String
    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, and useractivitylog.
    manageAdminPassword Boolean
    Whether to use AWS SecretManager to manage namespace's admin credentials. Conflicts with admin_user_password.
    namespaceId String
    The Redshift Namespace ID.
    namespaceName String
    The name of the namespace.
    tags 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.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    adminPasswordSecretArn string
    adminPasswordSecretKmsKeyId string
    ID of the KMS key used to encrypt the namespace's admin credentials secret.
    adminUserPassword string
    The password of the administrator for the first database created in the namespace. Conflicts with manage_admin_password.
    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.
    defaultIamRoleArn string
    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.
    iamRoles string[]
    A list of IAM roles to associate with the namespace.
    kmsKeyId string
    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, and useractivitylog.
    manageAdminPassword boolean
    Whether to use AWS SecretManager to manage namespace's admin credentials. Conflicts with admin_user_password.
    namespaceId string
    The Redshift Namespace ID.
    namespaceName string
    The name of the namespace.
    tags {[key: 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.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    admin_password_secret_arn str
    admin_password_secret_kms_key_id str
    ID of the KMS key used to encrypt the namespace's admin credentials secret.
    admin_user_password str
    The password of the administrator for the first database created in the namespace. Conflicts with manage_admin_password.
    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_role_arn str
    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.
    iam_roles Sequence[str]
    A list of IAM roles to associate with the namespace.
    kms_key_id str
    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, and useractivitylog.
    manage_admin_password bool
    Whether to use AWS SecretManager to manage namespace's admin credentials. Conflicts with admin_user_password.
    namespace_id str
    The Redshift Namespace ID.
    namespace_name str
    The name of the namespace.
    tags Mapping[str, str]
    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.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    adminPasswordSecretArn String
    adminPasswordSecretKmsKeyId String
    ID of the KMS key used to encrypt the namespace's admin credentials secret.
    adminUserPassword String
    The password of the administrator for the first database created in the namespace. Conflicts with manage_admin_password.
    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.
    defaultIamRoleArn String
    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.
    iamRoles List<String>
    A list of IAM roles to associate with the namespace.
    kmsKeyId String
    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, and useractivitylog.
    manageAdminPassword Boolean
    Whether to use AWS SecretManager to manage namespace's admin credentials. Conflicts with admin_user_password.
    namespaceId String
    The Redshift Namespace ID.
    namespaceName String
    The name of the namespace.
    tags Map<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.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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 aws Terraform Provider.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi