We recommend new projects start with resources from the AWS provider.
aws-native.redshiftserverless.getNamespace
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Definition of AWS::RedshiftServerless::Namespace Resource Type
Using getNamespace
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNamespace(args: GetNamespaceArgs, opts?: InvokeOptions): Promise<GetNamespaceResult>
function getNamespaceOutput(args: GetNamespaceOutputArgs, opts?: InvokeOptions): Output<GetNamespaceResult>
def get_namespace(namespace_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNamespaceResult
def get_namespace_output(namespace_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceResult]
func LookupNamespace(ctx *Context, args *LookupNamespaceArgs, opts ...InvokeOption) (*LookupNamespaceResult, error)
func LookupNamespaceOutput(ctx *Context, args *LookupNamespaceOutputArgs, opts ...InvokeOption) LookupNamespaceResultOutput
> Note: This function is named LookupNamespace
in the Go SDK.
public static class GetNamespace
{
public static Task<GetNamespaceResult> InvokeAsync(GetNamespaceArgs args, InvokeOptions? opts = null)
public static Output<GetNamespaceResult> Invoke(GetNamespaceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNamespaceResult> getNamespace(GetNamespaceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:redshiftserverless:getNamespace
arguments:
# arguments dictionary
The following arguments are supported:
- Namespace
Name string - A unique identifier for the namespace. You use this identifier to refer to the namespace for any subsequent namespace operations such as deleting or modifying. All alphabetical characters must be lower case. Namespace name should be unique for all namespaces within an AWS account.
- Namespace
Name string - A unique identifier for the namespace. You use this identifier to refer to the namespace for any subsequent namespace operations such as deleting or modifying. All alphabetical characters must be lower case. Namespace name should be unique for all namespaces within an AWS account.
- namespace
Name String - A unique identifier for the namespace. You use this identifier to refer to the namespace for any subsequent namespace operations such as deleting or modifying. All alphabetical characters must be lower case. Namespace name should be unique for all namespaces within an AWS account.
- namespace
Name string - A unique identifier for the namespace. You use this identifier to refer to the namespace for any subsequent namespace operations such as deleting or modifying. All alphabetical characters must be lower case. Namespace name should be unique for all namespaces within an AWS account.
- namespace_
name str - A unique identifier for the namespace. You use this identifier to refer to the namespace for any subsequent namespace operations such as deleting or modifying. All alphabetical characters must be lower case. Namespace name should be unique for all namespaces within an AWS account.
- namespace
Name String - A unique identifier for the namespace. You use this identifier to refer to the namespace for any subsequent namespace operations such as deleting or modifying. All alphabetical characters must be lower case. Namespace name should be unique for all namespaces within an AWS account.
getNamespace Result
The following output properties are available:
- Admin
Password stringSecret Kms Key Id - The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
- Admin
Username string - The user name associated with the admin user for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- Db
Name string - The database name associated for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- Default
Iam stringRole Arn - The default IAM role ARN for the namespace that is being created.
- Iam
Roles List<string> - A list of AWS Identity and Access Management (IAM) roles that can be used by the namespace to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. The Default role limit for each request is 10.
- Kms
Key stringId - The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace.
- Log
Exports List<Pulumi.Aws Native. Redshift Serverless. Namespace Log Export> - The collection of log types to be exported provided by the customer. Should only be one of the three supported log types: userlog, useractivitylog and connectionlog
- Namespace
Resource objectPolicy The resource policy document that will be attached to the namespace.
Search the CloudFormation User Guide for
AWS::RedshiftServerless::Namespace
for more information about the expected schema for this property.- Namespace
Value Pulumi.Aws Native. Redshift Serverless. Outputs. Namespace - Definition of Namespace resource.
- Snapshot
Copy List<Pulumi.Configurations Aws Native. Redshift Serverless. Outputs. Namespace Snapshot Copy Configuration> - The snapshot copy configurations for the namespace.
- Admin
Password stringSecret Kms Key Id - The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
- Admin
Username string - The user name associated with the admin user for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- Db
Name string - The database name associated for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- Default
Iam stringRole Arn - The default IAM role ARN for the namespace that is being created.
- Iam
Roles []string - A list of AWS Identity and Access Management (IAM) roles that can be used by the namespace to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. The Default role limit for each request is 10.
- Kms
Key stringId - The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace.
- Log
Exports []NamespaceLog Export - The collection of log types to be exported provided by the customer. Should only be one of the three supported log types: userlog, useractivitylog and connectionlog
- Namespace
Namespace
Type - Definition of Namespace resource.
- Namespace
Resource interface{}Policy The resource policy document that will be attached to the namespace.
Search the CloudFormation User Guide for
AWS::RedshiftServerless::Namespace
for more information about the expected schema for this property.- Snapshot
Copy []NamespaceConfigurations Snapshot Copy Configuration - The snapshot copy configurations for the namespace.
- admin
Password StringSecret Kms Key Id - The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
- admin
Username String - The user name associated with the admin user for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- db
Name String - The database name associated for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- default
Iam StringRole Arn - The default IAM role ARN for the namespace that is being created.
- iam
Roles List<String> - A list of AWS Identity and Access Management (IAM) roles that can be used by the namespace to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. The Default role limit for each request is 10.
- kms
Key StringId - The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace.
- log
Exports List<NamespaceLog Export> - The collection of log types to be exported provided by the customer. Should only be one of the three supported log types: userlog, useractivitylog and connectionlog
- namespace Namespace
- Definition of Namespace resource.
- namespace
Resource ObjectPolicy The resource policy document that will be attached to the namespace.
Search the CloudFormation User Guide for
AWS::RedshiftServerless::Namespace
for more information about the expected schema for this property.- snapshot
Copy List<NamespaceConfigurations Snapshot Copy Configuration> - The snapshot copy configurations for the namespace.
- admin
Password stringSecret Kms Key Id - The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
- admin
Username string - The user name associated with the admin user for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- db
Name string - The database name associated for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- default
Iam stringRole Arn - The default IAM role ARN for the namespace that is being created.
- iam
Roles string[] - A list of AWS Identity and Access Management (IAM) roles that can be used by the namespace to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. The Default role limit for each request is 10.
- kms
Key stringId - The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace.
- log
Exports NamespaceLog Export[] - The collection of log types to be exported provided by the customer. Should only be one of the three supported log types: userlog, useractivitylog and connectionlog
- namespace Namespace
- Definition of Namespace resource.
- namespace
Resource anyPolicy The resource policy document that will be attached to the namespace.
Search the CloudFormation User Guide for
AWS::RedshiftServerless::Namespace
for more information about the expected schema for this property.- snapshot
Copy NamespaceConfigurations Snapshot Copy Configuration[] - The snapshot copy configurations for the namespace.
- admin_
password_ strsecret_ kms_ key_ id - The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
- admin_
username str - The user name associated with the admin user for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- db_
name str - The database name associated for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- default_
iam_ strrole_ arn - The default IAM role ARN for the namespace that is being created.
- iam_
roles Sequence[str] - A list of AWS Identity and Access Management (IAM) roles that can be used by the namespace to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. The Default role limit for each request is 10.
- kms_
key_ strid - The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace.
- log_
exports Sequence[NamespaceLog Export] - The collection of log types to be exported provided by the customer. Should only be one of the three supported log types: userlog, useractivitylog and connectionlog
- namespace Namespace
- Definition of Namespace resource.
- namespace_
resource_ Anypolicy The resource policy document that will be attached to the namespace.
Search the CloudFormation User Guide for
AWS::RedshiftServerless::Namespace
for more information about the expected schema for this property.- snapshot_
copy_ Sequence[Namespaceconfigurations Snapshot Copy Configuration] - The snapshot copy configurations for the namespace.
- admin
Password StringSecret Kms Key Id - The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
- admin
Username String - The user name associated with the admin user for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- db
Name String - The database name associated for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
- default
Iam StringRole Arn - The default IAM role ARN for the namespace that is being created.
- iam
Roles List<String> - A list of AWS Identity and Access Management (IAM) roles that can be used by the namespace to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. The Default role limit for each request is 10.
- kms
Key StringId - The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace.
- log
Exports List<"useractivitylog" | "userlog" | "connectionlog"> - The collection of log types to be exported provided by the customer. Should only be one of the three supported log types: userlog, useractivitylog and connectionlog
- namespace Property Map
- Definition of Namespace resource.
- namespace
Resource AnyPolicy The resource policy document that will be attached to the namespace.
Search the CloudFormation User Guide for
AWS::RedshiftServerless::Namespace
for more information about the expected schema for this property.- snapshot
Copy List<Property Map>Configurations - The snapshot copy configurations for the namespace.
Supporting Types
Namespace
- Admin
Password stringSecret Arn - The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
- Admin
Password stringSecret Kms Key Id - The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
- Admin
Username string - The username of the administrator for the first database created in the namespace.
- Creation
Date string - The date of when the namespace was created.
- 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.
- Iam
Roles List<string> - A list of IAM roles to associate with the namespace.
- Kms
Key stringId - The ID of the AWS Key Management Service key used to encrypt your data.
- Log
Exports List<Pulumi.Aws Native. Redshift Serverless. Namespace Log Export> - The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- Namespace
Arn string - The Amazon Resource Name (ARN) associated with a namespace.
- Namespace
Id string - The unique identifier of a namespace.
- Namespace
Name string - The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- Status
Pulumi.
Aws Native. Redshift Serverless. Namespace Status - The status of the namespace.
- Admin
Password stringSecret Arn - The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
- Admin
Password stringSecret Kms Key Id - The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
- Admin
Username string - The username of the administrator for the first database created in the namespace.
- Creation
Date string - The date of when the namespace was created.
- 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.
- Iam
Roles []string - A list of IAM roles to associate with the namespace.
- Kms
Key stringId - The ID of the AWS Key Management Service key used to encrypt your data.
- Log
Exports []NamespaceLog Export - The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- Namespace
Arn string - The Amazon Resource Name (ARN) associated with a namespace.
- Namespace
Id string - The unique identifier of a namespace.
- Namespace
Name string - The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- Status
Namespace
Status - The status of the namespace.
- admin
Password StringSecret Arn - The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
- admin
Password StringSecret Kms Key Id - The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
- admin
Username String - The username of the administrator for the first database created in the namespace.
- creation
Date String - The date of when the namespace was created.
- 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.
- iam
Roles List<String> - A list of IAM roles to associate with the namespace.
- kms
Key StringId - The ID of the AWS Key Management Service key used to encrypt your data.
- log
Exports List<NamespaceLog Export> - The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- namespace
Arn String - The Amazon Resource Name (ARN) associated with a namespace.
- namespace
Id String - The unique identifier of a namespace.
- namespace
Name String - The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- status
Namespace
Status - The status of the namespace.
- admin
Password stringSecret Arn - The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
- admin
Password stringSecret Kms Key Id - The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
- admin
Username string - The username of the administrator for the first database created in the namespace.
- creation
Date string - The date of when the namespace was created.
- 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.
- iam
Roles string[] - A list of IAM roles to associate with the namespace.
- kms
Key stringId - The ID of the AWS Key Management Service key used to encrypt your data.
- log
Exports NamespaceLog Export[] - The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- namespace
Arn string - The Amazon Resource Name (ARN) associated with a namespace.
- namespace
Id string - The unique identifier of a namespace.
- namespace
Name string - The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- status
Namespace
Status - The status of the namespace.
- admin_
password_ strsecret_ arn - The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
- admin_
password_ strsecret_ kms_ key_ id - The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
- admin_
username str - The username of the administrator for the first database created in the namespace.
- creation_
date str - The date of when the namespace was created.
- 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.
- iam_
roles Sequence[str] - A list of IAM roles to associate with the namespace.
- kms_
key_ strid - The ID of the AWS Key Management Service key used to encrypt your data.
- log_
exports Sequence[NamespaceLog Export] - The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- namespace_
arn str - The Amazon Resource Name (ARN) associated with a namespace.
- namespace_
id str - The unique identifier of a namespace.
- namespace_
name str - The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- status
Namespace
Status - The status of the namespace.
- admin
Password StringSecret Arn - The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
- admin
Password StringSecret Kms Key Id - The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
- admin
Username String - The username of the administrator for the first database created in the namespace.
- creation
Date String - The date of when the namespace was created.
- 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.
- iam
Roles List<String> - A list of IAM roles to associate with the namespace.
- kms
Key StringId - The ID of the AWS Key Management Service key used to encrypt your data.
- log
Exports List<"useractivitylog" | "userlog" | "connectionlog"> - The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.
- namespace
Arn String - The Amazon Resource Name (ARN) associated with a namespace.
- namespace
Id String - The unique identifier of a namespace.
- namespace
Name String - The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
- status "AVAILABLE" | "MODIFYING" | "DELETING"
- The status of the namespace.
NamespaceLogExport
NamespaceSnapshotCopyConfiguration
- Destination
Region string - The destination AWS Region to copy snapshots to.
- Destination
Kms stringKey Id - The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
- Snapshot
Retention intPeriod - The retention period of snapshots that are copied to the destination AWS Region .
- Destination
Region string - The destination AWS Region to copy snapshots to.
- Destination
Kms stringKey Id - The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
- Snapshot
Retention intPeriod - The retention period of snapshots that are copied to the destination AWS Region .
- destination
Region String - The destination AWS Region to copy snapshots to.
- destination
Kms StringKey Id - The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
- snapshot
Retention IntegerPeriod - The retention period of snapshots that are copied to the destination AWS Region .
- destination
Region string - The destination AWS Region to copy snapshots to.
- destination
Kms stringKey Id - The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
- snapshot
Retention numberPeriod - The retention period of snapshots that are copied to the destination AWS Region .
- destination_
region str - The destination AWS Region to copy snapshots to.
- destination_
kms_ strkey_ id - The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
- snapshot_
retention_ intperiod - The retention period of snapshots that are copied to the destination AWS Region .
- destination
Region String - The destination AWS Region to copy snapshots to.
- destination
Kms StringKey Id - The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
- snapshot
Retention NumberPeriod - The retention period of snapshots that are copied to the destination AWS Region .
NamespaceStatus
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.