aws.redshiftserverless.Namespace
Explore with Pulumi AI
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:
- Namespace
Name string - The name of the namespace.
- Admin
Password stringSecret Kms Key Id - ID of the KMS key used to encrypt the namespace's admin credentials secret.
- Admin
User stringPassword - The password of the administrator for the first database created in the namespace.
Conflicts with
manage_admin_password
. - Admin
Username string - The username of the administrator for the first database created in the namespace.
- Db
Name string - The name of the first database created in the namespace.
- Default
Iam 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
. - Iam
Roles List<string> - A list of IAM roles to associate with the namespace.
- Kms
Key stringId - The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- Log
Exports List<string> - 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_password
. - 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.
- Namespace
Name string - The name of the namespace.
- Admin
Password stringSecret Kms Key Id - ID of the KMS key used to encrypt the namespace's admin credentials secret.
- Admin
User stringPassword - The password of the administrator for the first database created in the namespace.
Conflicts with
manage_admin_password
. - Admin
Username string - The username of the administrator for the first database created in the namespace.
- Db
Name string - The name of the first database created in the namespace.
- Default
Iam 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
. - Iam
Roles []string - A list of IAM roles to associate with the namespace.
- Kms
Key stringId - The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- Log
Exports []string - 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_password
. - 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.
- namespace
Name String - The name of the namespace.
- admin
Password StringSecret Kms Key Id - ID of the KMS key used to encrypt the namespace's admin credentials secret.
- admin
User StringPassword - The password of the administrator for the first database created in the namespace.
Conflicts with
manage_admin_password
. - admin
Username String - The username of the administrator for the first database created in the namespace.
- db
Name String - The name of the first database created in the namespace.
- default
Iam 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
. - iam
Roles List<String> - A list of IAM roles to associate with the namespace.
- kms
Key StringId - The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- log
Exports List<String> - The types of logs the namespace can export. Available export types are
userlog
,connectionlog
, anduseractivitylog
. - manage
Admin BooleanPassword - Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with
admin_user_password
. - 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.
- namespace
Name string - The name of the namespace.
- admin
Password stringSecret Kms Key Id - ID of the KMS key used to encrypt the namespace's admin credentials secret.
- admin
User stringPassword - The password of the administrator for the first database created in the namespace.
Conflicts with
manage_admin_password
. - admin
Username string - The username of the administrator for the first database created in the namespace.
- db
Name string - The name of the first database created in the namespace.
- default
Iam 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
. - iam
Roles string[] - A list of IAM roles to associate with the namespace.
- kms
Key stringId - The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- log
Exports string[] - The types of logs the namespace can export. Available export types are
userlog
,connectionlog
, anduseractivitylog
. - manage
Admin booleanPassword - Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with
admin_user_password
. - {[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_ 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_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_ 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_password
. - 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.
- namespace
Name String - The name of the namespace.
- admin
Password StringSecret Kms Key Id - ID of the KMS key used to encrypt the namespace's admin credentials secret.
- admin
User StringPassword - The password of the administrator for the first database created in the namespace.
Conflicts with
manage_admin_password
. - admin
Username String - The username of the administrator for the first database created in the namespace.
- db
Name String - The name of the first database created in the namespace.
- default
Iam 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
. - iam
Roles List<String> - A list of IAM roles to associate with the namespace.
- kms
Key StringId - The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- log
Exports List<String> - The types of logs the namespace can export. Available export types are
userlog
,connectionlog
, anduseractivitylog
. - manage
Admin BooleanPassword - Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with
admin_user_password
. - 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:
- Admin
Password stringSecret Arn - Arn string
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace
Id string - The Redshift Namespace ID.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Admin
Password stringSecret Arn - Arn string
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace
Id string - The Redshift Namespace ID.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- admin
Password StringSecret Arn - arn String
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace
Id String - The Redshift Namespace ID.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- admin
Password stringSecret Arn - arn string
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- id string
- The provider-assigned unique ID for this managed resource.
- namespace
Id string - The Redshift Namespace ID.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- admin_
password_ strsecret_ arn - 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_tags
configuration block.
- admin
Password StringSecret Arn - arn String
- Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace
Id String - The Redshift Namespace ID.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration 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) -> 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.
- Admin
Password stringSecret Arn - Admin
Password stringSecret Kms Key Id - ID of the KMS key used to encrypt the namespace's admin credentials secret.
- Admin
User stringPassword - The password of the administrator for the first database created in the namespace.
Conflicts with
manage_admin_password
. - Admin
Username 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.
- Db
Name string - The name of the first database created in the namespace.
- Default
Iam 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
. - Iam
Roles List<string> - A list of IAM roles to associate with the namespace.
- Kms
Key stringId - The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- Log
Exports List<string> - 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_password
. - Namespace
Id string - The Redshift Namespace ID.
- Namespace
Name string - The name of the namespace.
- 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. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Admin
Password stringSecret Arn - Admin
Password stringSecret Kms Key Id - ID of the KMS key used to encrypt the namespace's admin credentials secret.
- Admin
User stringPassword - The password of the administrator for the first database created in the namespace.
Conflicts with
manage_admin_password
. - Admin
Username 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.
- Db
Name string - The name of the first database created in the namespace.
- Default
Iam 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
. - Iam
Roles []string - A list of IAM roles to associate with the namespace.
- Kms
Key stringId - The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- Log
Exports []string - 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_password
. - Namespace
Id string - The Redshift Namespace ID.
- Namespace
Name string - The name of the namespace.
- 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. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- admin
Password StringSecret Arn - admin
Password StringSecret Kms Key Id - ID of the KMS key used to encrypt the namespace's admin credentials secret.
- admin
User StringPassword - The password of the administrator for the first database created in the namespace.
Conflicts with
manage_admin_password
. - admin
Username 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.
- db
Name String - The name of the first database created in the namespace.
- default
Iam 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
. - iam
Roles List<String> - A list of IAM roles to associate with the namespace.
- kms
Key StringId - The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- log
Exports List<String> - The types of logs the namespace can export. Available export types are
userlog
,connectionlog
, anduseractivitylog
. - manage
Admin BooleanPassword - Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with
admin_user_password
. - namespace
Id String - The Redshift Namespace ID.
- namespace
Name String - The name of the namespace.
- 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. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- admin
Password stringSecret Arn - admin
Password stringSecret Kms Key Id - ID of the KMS key used to encrypt the namespace's admin credentials secret.
- admin
User stringPassword - The password of the administrator for the first database created in the namespace.
Conflicts with
manage_admin_password
. - admin
Username 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.
- db
Name string - The name of the first database created in the namespace.
- default
Iam 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
. - iam
Roles string[] - A list of IAM roles to associate with the namespace.
- kms
Key stringId - The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- log
Exports string[] - The types of logs the namespace can export. Available export types are
userlog
,connectionlog
, anduseractivitylog
. - manage
Admin booleanPassword - Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with
admin_user_password
. - namespace
Id string - The Redshift Namespace ID.
- namespace
Name string - The name of the namespace.
- {[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. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- admin_
password_ strsecret_ arn - 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_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_ 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_password
. - 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_tags
configuration 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_tags
configuration block.
- admin
Password StringSecret Arn - admin
Password StringSecret Kms Key Id - ID of the KMS key used to encrypt the namespace's admin credentials secret.
- admin
User StringPassword - The password of the administrator for the first database created in the namespace.
Conflicts with
manage_admin_password
. - admin
Username 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.
- db
Name String - The name of the first database created in the namespace.
- default
Iam 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
. - iam
Roles List<String> - A list of IAM roles to associate with the namespace.
- kms
Key StringId - The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
- log
Exports List<String> - The types of logs the namespace can export. Available export types are
userlog
,connectionlog
, anduseractivitylog
. - manage
Admin BooleanPassword - Whether to use AWS SecretManager to manage namespace's admin credentials.
Conflicts with
admin_user_password
. - namespace
Id String - The Redshift Namespace ID.
- namespace
Name String - The name of the namespace.
- 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. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration 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
aws
Terraform Provider.